Home > Software engineering >  Is it possible to collect info on why an app you created is crashing?
Is it possible to collect info on why an app you created is crashing?

Time:02-01

I have developed an Android app using react native. When I run on simulator its fine, and also when I debug via USB on real device its fine. However when I publish to Google Play store and download the app as a regular customer it sometimes crashes. Are there any logs somewhere that I can refer to in order to identify what the issue is? Or perhaps there is something I can add to code to help identify where/why issue is occuring.

CodePudding user response:

You can use log errors to do so, record the activity of user. When the app crashes, your app can ask the user to send the bug report.

Using that bug report you can understand why your app crashes.

CodePudding user response:

You could also use tools like Sentry or Firebase Crashlytics with an Error Boundary wrapping your app to report errors, allowing you to have a better understanding of the production errors by displaying the full error stack trace and a lot more.

  •  Tags:  
  • Related