I’m trying to get the way expo prebuild work. When running
expo prebuild it will use app.json and app.config.js to generate stuff. But if I run
expo prebuild it doesn’t know which environment I’m doing. I see there’s a param
--config which seems fine but it’s said deprecated. I’m wondering if there’s a way to check environment at app.config.js so I can do ‘if else’ on that
One more thing, I see on EAS build, they execute
expo prebuild. Does it fetch app.config.js at this time or just the generated config at previous step?