Multi-Process Apps
The Sentry Android SDK will not automatically initialize in non-main processes because of ContentProvider
. If you'd like to automatically auto-init
the Sentry Android SDK in other processes, add the following to AndroidManifest.xml
:
Copied
<provider
android:name="io.sentry.android.core.SentryInitProvider"
android:authorities="${applicationId}.SentryInitProvider"
android:exported="false"
android:process="YOUR_PROCESS_HERE"
tools:node="merge" />
Alternatively, you can call SentryAndroid.init(...)
.
Help improve this content
Our documentation is open source and available on GitHub. Your contributions are welcome, whether fixing a typo (drat!) to suggesting an update ("yeah, this would be better").
Our documentation is open source and available on GitHub. Your contributions are welcome, whether fixing a typo (drat!) to suggesting an update ("yeah, this would be better").
Suggest an edit to this page | Contribute to Docs | Report a problem
🎉 Thank you for your feedback! 🙌
- Package:
- maven:io.sentry:sentry-android
- Version:
- 6.30.0
- Repository:
- https://github.com/getsentry/sentry-java