Exception tracking
Exception tracking captures any unhandled exceptions within the application.
The exception tracking is enabled by default. It can be set in TrackerConfiguration
like in the example below:
- iOS
- Android (Kotlin)
- Android (Java)
let trackerConfig = TrackerConfiguration()
.exceptionAutotracking(true)
val trackerConfig = TrackerConfiguration("appId")
.exceptionAutotracking(true)
TrackerConfiguration trackerConfig = new TrackerConfiguration("appId")
.exceptionAutotracking(true);
It allows the tracker to intercept critical exceptions in the app. Exceptions can crash the app so it's likely that the event will be sent after the restart of the app. Being a critical situation we can't be 100% sure that all the exception stacktraces are reliably stored for sending before the crash of the app.