The KloudSentinel SDKs report crashes and freezes (ANRs) from your iOS and Android apps, with crash-free session rates.
1. Create a mobile token
Open Mobile App Monitoring and select Create mobile token. This token ships inside your app, so it can only send reports.
2. Add the SDK
The SDKs are in early release. Contact us to get the iOS or Android package and the symbol upload script.
iOS
Requires iOS 13 or later. Add the Swift package, then start it once, as early as you can:
import KloudSentinel
KloudSentinel.start(.init(
endpoint: URL(string: "https://kloudsentinel.com")!,
token: "YOUR_MOBILE_TOKEN",
app: "my-app"))
Android
Requires Android 6.0 (API 23) or later. Add the module, then start it from Application.onCreate:
KloudSentinel.start(this, "https://kloudsentinel.com", "YOUR_MOBILE_TOKEN", "my-app")
3. Check that it worked
Reports appear on Mobile App Monitoring. A crash is saved on the device and sent the next time the app opens, so reopen the app after a test crash.
Open any issue to see its stack trace.
See real function names in release builds
Release builds hide function names. Upload each build's symbols from your build pipeline:
- On Mobile App Monitoring, select Create upload token. Keep this token in your CI secrets, never in the app.
- Run the upload for each release:
export KS_URL=https://kloudsentinel.com KS_SYMBOL_TOKEN=YOUR_UPLOAD_TOKEN
# iOS
scripts/upload_symbols.sh ios my-app 1.4.0 MyApp.app.dSYM
# Android
scripts/upload_symbols.sh android my-app 1.4.0 app/build/outputs/mapping/release/mapping.txt
The app name and version must match what the app reports. Uploading also fixes reports you've already received for that version.
Limits
- Native (NDK) crashes on Android aren't captured.
- One freeze can show as more than one issue if different launches catch it at different lines.