Guides › Kotlin (Android) › Firebase Crashlytics
Firebase Crashlytics in a Kotlin (Android) app: privacy policy & Data safety
In a Kotlin (Android) app, Firebase Crashlytics comes in through com.google.firebase:firebase-crashlytics in build.gradle or libs.versions.toml. Google collects the data below, but the store treats it as your app's collection: you declare it in Data safety and name Google in your privacy policy.
What to declare
| Data | Purpose | Google Play Data safety |
|---|---|---|
| Crash logs technical reports generated when the app crashes | App functionality, Analytics | App info and performance › Crash logs Shared: No |
| Diagnostics performance data such as launch time and battery or network usage | App functionality, Analytics | App info and performance › Diagnostics Shared: No |
| Device identifiers identifiers for your device or app installation, such as an advertising ID or push token | App functionality, Analytics | Device or other IDs › Device or other IDs Shared: No |
| Data safety: shared with third parties? | No |
|---|
Kotlin (Android) notes
Crash reports aren't tied to a person by default. If you call setUserIdentifier (or setUserId) to find a user's crashes, declare the data as linked to the user.
Collect only after consent (optional)
If you ask users first — required for analytics in some regions — turn automatic collection off, then enable it after consent:
- Android:
<meta-data android:name="firebase_crashlytics_collection_enabled" android:value="false" />inAndroidManifest.xml - After consent:
Firebase.crashlytics.setCrashlyticsCollectionEnabled(true)
Privacy policy text
This is the line StoreOK puts in the "Third-party services" section of your policy:
Firebase Crashlytics (Google) for crash reporting. Privacy policy
The policy also has to describe the data itself (the rows above), how long you keep it, and how users can ask for deletion. See a full example.
Using more than Firebase Crashlytics? Drop your build.gradle — StoreOK detects every SDK and writes the policy and Data safety answers to match. Read in your browser, no signup.
Firebase Crashlytics in other frameworks
firebase_crashlyticsReact Native@react-native-firebase/crashlyticsExpo@react-native-firebase/crashlyticsSwiftUI (iOS)FirebaseCrashlyticsOther SDKs in Kotlin (Android)
Based on Google's and the framework's public documentation and our SDK mapping. SDK behaviour changes between versions and configurations — verify against your own setup. This is not legal advice.