A user opens a note, starts typing, and the app closes. When they reopen it, the text they typed is gone.
I reproduced exactly that in a React Native app, with a crash reporter installed and configured. Then I opened the dashboard and found nothing. No crash, and the last five seconds of the session were missing.
This article covers how I set up crash reporting and session replay in that app. It also covers why the first crash never showed up, and the small component that fixed the gap. Everything below was run on a real release build on an Android emulator.
A stack trace tells you where. You also need why.
Most production bugs in mobile apps don't fail on the line that's wrong. They fail because of state the app didn't expect: a slow network, a background sync, a record another device deleted a second ago.
A crash report gives you the error, the stack trace, and device information.…