Android and iOS
Bugtail works with the official Sentry SDKs for Android and iOS. Crashes and errors arrive as issues, and app sessions feed the crash-free rate under Releases.
Copy the DSN for either platform from your collector under Settings > Projects and collectors.
Android
Add the dependency to the build.gradle of your app module:
implementation 'io.sentry:sentry-android:7.+'
Then add the DSN inside the application element of AndroidManifest.xml:
<meta-data android:name="io.sentry.dsn" android:value="https://<key>@ingest.bugtail.eu/<project-id>" />
The SDK starts itself from the manifest, so there is nothing to call in onCreate.
iOS
Add the package in Xcode under File > Add Package Dependencies, with the URL https://github.com/getsentry/sentry-cocoa, or with CocoaPods:
pod 'Sentry'
Start the SDK as early in launch as you can:
import Sentry
SentrySDK.start { options in
options.dsn = "https://<key>@ingest.bugtail.eu/<project-id>"
}
Symbols and mappings
Bugtail applies JavaScript source maps only. It does not use ProGuard or R8 mapping files, or dSYM files, so frames from an obfuscated or stripped build are shown the way the SDK sent them.