About user safety and SDKs
Stay organized with collections
Save and categorize content based on your preferences.
As an app developer, you want to make sure that you can keep your users safe
and your apps secure and stable from any vulnerabilities, including those that
may be introduced by Software Development Kits (SDKs) that you use.
As an SDK provider, you don't want to have your SDK cause an app or game
developer to violate Google Play Developer policies, which can disrupt their
business and expose them to enforcement actions by Google Play.
Learn more about best practices for user safety, whether you're an app developer
using an SDK or an SDK developer.
For app developers
- Before you integrate an SDK into your app, ensure you
know what permissions it uses, what data it
collects, and why. Include this information in your Data safety
form. Note that you as the app developer are
responsible for the SDK's data collection behavior, even if you don't use a
particular function of the SDK.
- Review all Google Play Developer policies
relating to when you can and cannot extend the use of User Data you have
collected. For use of device location, for example, you must make any
sharing of this data with a third party/SDK known to end users through the
Prominent Disclosure and Consent requirements.
- Stay up to date with Google Play policy
updates to make sure an SDK you have included
in your app does not cause your app to violate Play Policies, such as
updates to the Device and Network Abuse Policy,
Ads Policy, and User Data Policy with respect to
Persistent Identifiers.
- Do not sell personal and sensitive user information.
- If you receive an enforcement notice about an SDK-caused violation in your
app that you need to address, refer to our instructions for how to resubmit
your app following a policy violation.
- Check out Google Play SDK Index
to see which SDKs are registered on Google Play Console, which Android
permissions those SDKs use, and more.
For SDK providers
- Understand Google Play Developer policies.
Keep up to date with Google Play policy
updates to make sure your SDK does not cause
apps to violate Play Policies, such as
updates to the Device and Network Abuse Policy,
Ads Policy, and User Data Policy with respect to
Persistent Identifiers. Apps that use
your SDK may be in violation of these policies and therefore may face
enforcement actions by Google Play. For example:
- If your SDK uses Personal and Sensitive user data, then you must ensure
that you have made this clear in your public documentation to apps using
your SDK.
- SDKs with interpreted languages (JavaScript, Python, Lua, etc.) loaded
at run time (for example, not packaged with the app) must not allow
potential violations (for example, collection of installed packages
without appropriate purpose, disclosure and consent) of Google Play
policies.
- Do not sell personal and sensitive user information.
Support the latest API security and data minimization features
in your SDKs. See an April 2022 blog post for more
information.
Help your customers understand what User Data your SDK may collect and
the reason for its use, so that app developers can include this in their
Prominent Disclosure and Consent to
end users, and in their Privacy Policies when this applies.
You should implement logic that reads and adheres to the app
developer-collected user preference, or ensure that a mechanism exists for
the app developer to accurately initialize your SDK according to this
user-facing consent event.
Provide information about your data use in a format easy to access and
consume publicly. Here is an optional format
that you may be interested in using to publish your information, as many
developers are familiar with this format. For examples, see the Google
Firebase SDK data disclosure and the Google AdMob
SDK data disclosure.
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2025-06-17 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-06-17 UTC."],[],[],null,["# About user safety and SDKs\n\nAs an **app developer**, you want to make sure that you can keep your users safe\nand your apps secure and stable from any vulnerabilities, including those that\nmay be introduced by Software Development Kits (SDKs) that you use.\n\nAs an **SDK provider**, you don't want to have your SDK cause an app or game\ndeveloper to violate Google Play Developer policies, which can disrupt their\nbusiness and expose them to enforcement actions by Google Play.\n\nLearn more about best practices for user safety, whether you're an app developer\nusing an SDK or an SDK developer.\n\nFor app developers\n------------------\n\n- Before you integrate an SDK into your app, [ensure you\n know](https://medium.com/androiddevelopers/getting-to-know-the-behaviors-of-your-sdk-dependencies-f3dfed07a311) what permissions it uses, what data it collects, and why. Include this information in your [Data safety\n form](https://support.google.com/googleplay/android-developer/answer/10787469). Note that you as the app developer are responsible for the SDK's data collection behavior, even if you don't use a particular function of the SDK.\n- Review all [Google Play Developer policies](https://play.google.com/about/developer-content-policy/) relating to when you can and cannot extend the use of User Data you have collected. For use of device location, for example, you must make any sharing of this data with a third party/SDK known to end users through the [Prominent Disclosure and Consent requirements](https://support.google.com/googleplay/android-developer/answer/11150561).\n- Stay up to date with [Google Play policy\n updates](https://support.google.com/googleplay/android-developer/answer/9934569?ref_topic=9877065) to make sure an SDK you have included in your app does not cause your app to violate Play Policies, such as updates to the [Device and Network Abuse Policy](https://support.google.com/googleplay/android-developer/answer/9888379), [Ads Policy](https://support.google.com/googleplay/android-developer/answer/9857753?ref_topic=9857752), and [User Data Policy with respect to\n Persistent Identifiers](https://support.google.com/googleplay/android-developer/answer/10144311).\n- Do not sell personal and sensitive user information.\n- If you receive an enforcement notice about an SDK-caused violation in your app that you need to address, refer to [our instructions for how to resubmit\n your app following a policy violation](https://support.google.com/googleplay/android-developer/answer/2477981#resubmit).\n- Check out [Google Play SDK Index](https://play.google.com/sdks) to see which SDKs are registered on Google Play Console, which Android permissions those SDKs use, and more.\n\nFor SDK providers\n-----------------\n\n- Understand [Google Play Developer policies](https://play.google.com/about/developer-content-policy/).\n- Keep up to date with Google Play policy\n [updates](https://support.google.com/googleplay/android-developer/answer/9934569?ref_topic=9877065) to make sure your SDK does not cause\n apps to violate Play Policies, such as\n updates to the [Device and Network Abuse Policy](https://support.google.com/googleplay/android-developer/answer/9888379),\n [Ads Policy](https://support.google.com/googleplay/android-developer/answer/9857753?ref_topic=9857752), and [User Data Policy with respect to\n Persistent Identifiers](https://support.google.com/googleplay/android-developer/answer/10144311). Apps that use\n your SDK may be in violation of these policies and therefore may face\n enforcement actions by Google Play. For example:\n\n - If your SDK uses Personal and Sensitive user data, then you must ensure that you have made this clear in your public documentation to apps using your SDK.\n - SDKs with interpreted languages (JavaScript, Python, Lua, etc.) loaded at run time (for example, not packaged with the app) must not allow potential violations (for example, collection of installed packages without appropriate purpose, disclosure and consent) of Google Play policies.\n - Do not sell personal and sensitive user information.\n- Support the [latest API security and data minimization features](/google/play/requirements/target-sdk)\n in your SDKs. See an [April 2022 blog post](https://android-developers.googleblog.com/2022/04/expanding-plays-target-level-api-requirements-to-strengthen-user-security.html) for more\n information.\n\n- Help your customers understand what User Data your SDK may collect and\n the reason for its use, so that app developers can include this in their\n [Prominent Disclosure and Consent](https://support.google.com/googleplay/android-developer/answer/10144311) to\n end users, and in their Privacy Policies when this applies.\n\n- You should implement logic that reads and adheres to the app\n developer-collected user preference, or ensure that a mechanism exists for\n the app developer to accurately initialize your SDK according to this\n user-facing consent event.\n\n- Provide information about your data use in a format easy to access and\n consume publicly. Here is an [optional format](https://support.google.com/googleplay/android-developer/answer/10787469#optional_format_for_SDKs)\n that you may be interested in using to publish your information, as many\n developers are familiar with this format. For examples, see the [Google\n Firebase SDK data disclosure](https://support.google.com/analytics/answer/11582702) and the [Google AdMob\n SDK data disclosure](https://developers.google.com/admob/android/play-data-disclosure)."]]