App crashes in production only

My app crashes in apk only (Android).
Crash is caused by MapView. The most frustrating problem is that I can’t debug what causes the crash. This is not the first time it happens. It was happening before when I forgot to add GoogleMapsApiKey in my app.json it was crashing in production only for android devices.

The issue is very similar now, but it caused by SDK upgrade. After I upgraded to SDK39 MapView crashes Android app in apk.

I’m commenting half of my code and building apk, running on a device and checking if it crashes again.
It takes days to understand what causes a crash.

It doesn’t send any logs to Sentry.

So my question is, is there any way to somehow get an error message when running standalone app?

Try using adb logcat which will hopefully give you some more information.

e.g. see the bottom of this page:

You could also try running:

expo start --no-dev --minify

which might allow you to reproduce it without having to build a standalone app.

This topic was automatically closed 20 days after the last reply. New replies are no longer allowed.