androidiosreact-nativemobileerror-logging

Are errors logged somewhere by default on Android and iOS?


I have a React Native mobile app on the Apple App Store and Google Play Store. A user observed an error while using the app, but they have since closed the app.

I was debugging locally and I couldn't reproduce the error. I don't see any errors in the API logs, so it appears to be a frontend app problem. Unfortunately, I haven't implemented any tools to monitor errors in the frontend.

Is there any way to see past errors that occurred in the frontend? Do they get logged somewhere by default - maybe on the apple.developer or android.developer portals?


Solution

  • I don't know about seeing past errors, unfortunately.

    For future occasions, Sentry is a good framework for bug logging that has established support for React Native and Expo, and it offers limited error and performance monitoring for free (source: pricing page).