ユーザーの安全性と SDK について
コレクションでコンテンツを整理
必要に応じて、コンテンツの保存と分類を行います。
アプリ デベロッパーは、ユーザーの安全を確保し、使用するソフトウェア開発キット(SDK)によって導入される可能性のある脆弱性など、あらゆる脆弱性からアプリを保護する必要があります。
SDK プロバイダは、SDK が原因でアプリやゲームのデベロッパーが Google Play デベロッパー ポリシーに違反し、ビジネスが中断されたり、Google Play による違反措置の対象になったりすることを避けたいと考えています。
SDK を使用するアプリ デベロッパーや SDK デベロッパーは、ユーザーの安全性に関するおすすめの方法についてご確認ください。
アプリ デベロッパー向けの情報
SDK プロバイダ向け
- Google Play デベロッパー ポリシーを理解します。
Google Play ポリシーの最新情報を常に把握し、SDK が原因でアプリが Google Play ポリシーに違反しないようにしてください。たとえば、デバイスやネットワークでの不正行為に関するポリシー、広告に関するポリシー、永続識別子に関するユーザーデータに関するポリシーの更新などです。お客様の SDK を使用しているアプリは、これらのポリシーに違反している可能性があるため、Google Play による違反措置を受ける可能性があります。次に例を示します。
- SDK がユーザーの個人情報や機密情報を使用している場合は、SDK を使用するアプリ向けの公開ドキュメントで、その旨を明記する必要があります。
- インタプリタ言語(JavaScript、Python、Lua など)が実行時に読み込まれる(アプリにパッケージされていない)SDK は、Google Play ポリシーに違反する可能性(適切な目的、開示、同意のないインストール済みパッケージの収集など)を排除しなければなりません。
- ユーザーの個人情報や機密情報を販売しないこと。
SDK で最新の API セキュリティ機能とデータ最小化機能をサポートします。詳しくは、2022 年 4 月の投稿をご覧ください。
SDK が収集するユーザーデータとその使用理由をユーザーに理解してもらうようサポートします。これにより、アプリ デベロッパーは、エンドユーザーに対する認識しやすい開示と同意と、プライバシー ポリシー(該当する場合)にこれを含めることができます。
アプリ デベロッパーが収集したユーザー設定を読み取り、その設定に準拠するロジックを実装するか、アプリ デベロッパーがこのユーザー向けの同意イベントに従って、SDK を正確に初期化できるメカニズムが存在することを確認する必要があります。
データの使用に関する情報を、一般公開してアクセスしやすく利用しやすい形式で提供します。多くのデベロッパーが慣れ親しんでいる形式であるため、情報を公開する際に使用できるオプションの形式をご紹介します。例については、Google Firebase SDK のデータ開示と Google AdMob SDK のデータ開示をご覧ください。
このページのコンテンツやコードサンプルは、コンテンツ ライセンスに記載のライセンスに従います。Java および OpenJDK は Oracle および関連会社の商標または登録商標です。
最終更新日 2025-07-27 UTC。
[null,null,["最終更新日 2025-07-27 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)."]]