I had different solution. I tried removing node_modules, .expo and nothing worked. But I had modules
directory in my project that contained subproject with separate package.json
and somehow it was affecting expo even though it wasn't imported in package.json
nor app.config.js
I know that is some kind of edge case but I hope I will help somebody - I wasted 3h fixing that :)