You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I want sentry to notify me of uncaught crashes on backend and CustomActivityOnCrash to show user that app has crashed but Caoc not launching its activity
class MyApp : Application() {
override fun onCreate() {
super.onCreate()
CaocConfig.Builder.create().apply()
SentryAndroid.init(this) { options ->
options.dsn = "https://e850e31230.ingest.sentry.io/4505510617350144";
// Add a callback that will be used before the event is sent to Sentry.
// With this callback, you can modify the event or, when returning null, also discard the event.
options.setBeforeSend{event,hint->
if (SentryLevel.DEBUG == event.level) return@setBeforeSend null;
else return@setBeforeSend event;
}
}
}
}
Any assistance?
The text was updated successfully, but these errors were encountered:
I want sentry to notify me of uncaught crashes on backend and CustomActivityOnCrash to show user that app has crashed but Caoc not launching its activity
Any assistance?
The text was updated successfully, but these errors were encountered: