One thing I’m not sure of, though: How safe is it putting things like Google Maps API key in the manifest? I suppose there’s nowhere else to put them, but is it a problem if the user unpacks the APK and gets the API key from it?
We have had identical symptoms as you describe (crashing on launch on Android, only in builds, not in dev, ever since upgrading to SDK36). Just wanted to pass along that we have tracked it down to dark mode on Android. If we disable dark mode and reinstall the app, then it works. This has been our workaround for our customers until we can track the root cause.
That’s a good question. I had a cred in JS config until I realized anyone read it and find it there. That’s why I thought only safe place is app.json as we already have other creds as instructed by Expo. I need to find out if that’ll be safe!
Also I guess the reason, it broke in standalone, is that during build expo removes (i guess moves to somewhere else) it (may be selective ones) from app.json as they said
Another thing, I’ve tried to use adb logcat. Though I saw the exception there it wasn’t much helpful. I tried to configure the crashlytics and had to give up midway. Not sure how (i guess because I already have the firebase setup for other purpose), later I got a notification about the crash and exact problem.