In May 2021, Google Play announced the new Data safety section, which is a developer-provided disclosure for an app's data collection, sharing, and security practices.
This page can help you complete the requirements for this data disclosure in regards to your usage of ML Kit Android SDKs. On this page, you can find information on whether and how our SDKs handle end-user data, including any applicable configurations or invocations you can control as the app developer.
We aim to be as transparent as possible in supporting you; however, as the app developer, you are solely responsible for deciding how to respond to Google Play's Data safety section form regarding your app's end-user data collection, sharing, and security practices.
How to use the information on this page
This page lists the data collected by only the latest version of each ML Kit Android SDK.
To complete your data disclosure, you can use Android's guide about data types to help you determine which data type best describes the collected data. In your data disclosure, make sure to also account for how your specific app shares and uses the collected data.
Overview of data encryption and data sharing for ML Kit Android SDKs:
Data encryption | For the collected data listed on this page, ML Kit encrypts the data in transit using HTTPS. |
Data sharing | For the collected data listed on this page, ML Kit does not transfer this data to third-parties. |
Collected data
Data collected in all features
Data | The ML Kit SDK collects... |
Device information | Device information (such as manufacturer, model, OS version and build) and available ML hardware accelerators. Used for diagnostics and usage analytics. |
Application information | Package name and app versions. Used for diagnostics and usage analytics. |
Device or other identifiers | For thin features:
|
Performance metrics | Performance metrics (such as latency). Used for diagnostics and usage analytics. |
API configuration | API configuration (such as image format and resolution). Used for diagnostics and usage analytics. |
Event type | Event type (such as feature initializations, model downloads, detection, resource releases). Used for diagnostics and usage analytics. |
Error codes | Error code for feature events (such as feature initializations, model downloads, detection, resource releases). Used for diagnostics and usage analytics. |
Extra data collected in specific features
Custom image labeling and object detection
com.google.android.gms:play-services-mlkit-image-labeling-custom
com.google.mlkit:object-detection-custom
com.google.mlkit:image-labeling-custom
- If you are using these libraries with custom models, the following data is
collected:
- Name, version, and URI/URL of the machine learning model for diagnostics
- If you are using
Firebase Model Deployment
with
com.google.mlkit:linkfirebase
to remotely host a custom model, refer to the Firebase ML model downloader and Firebase installations sections in Prepare for Google Play data disclosure requirements.
Object detection and pose detection
com.google.mlkit:object-detection
com.google.mlkit:pose-detection
com.google.mlkit:pose-detection-accurate
- ML Kit uses Firebase remote config and Firebase installations for remote configuration diagnostics. Please refer to the Firebase remote config and Firebase installations sections in Prepare for Google Play data disclosure requirements.
Entity extraction and digital ink recognition
com.google.mlkit:entity-extraction
com.google.mlkit:digital-ink-recognition
- Configured languages. Used for diagnostics and usage analytics.
Smart reply
com.google.mlkit:smart-reply
- Identified languages. SmartReply internally uses language identification to only respond to specific languages. Used for diagnostics and usage analytics.
- ML Kit uses Firebase remote config and Firebase installations for remote configuration diagnostics. Please refer to the Firebase remote config and Firebase installations sections in Prepare for Google Play data disclosure requirements.
Language ID
com.google.android.gms:play-services-mlkit-language-id
com.google.mlkit:language-id
- Identified languages. Used for diagnostics and usage analytics.
Translate
com.google.mlkit:translate
- Configured source and destination languages. Used for diagnostics and usage analytics.
- ML Kit uses Firebase remote config and Firebase installations for remote configuration diagnostics. Please refer to the Firebase remote config and Firebase installations sections in Prepare for Google Play data disclosure requirements.
Barcode scanning
com.google.android.gms:play-services-code-scanner
com.google.android.gms:play-services-mlkit-barcode-scanning
com.google.mlkit:barcode-scanning
- If you enable auto zoom option, the following data is collected:
- Dynamically generated id for the scanning session that is not intended to uniquely identify a user or physical device.
- Zoom level change for auto-zoom events.
- Predicated coordinates of a bounding box potentially containing a barcode for an auto-zoom.