如何修复 "Violation of Usage of Android Advertising ID policy and section 4.8 of the Developer Distribution Agreement"

How to fix "Violation of Usage of Android Advertising ID policy and section 4.8 of the Developer Distribution Agreement"

今天我收到了来自 google 的这封电子邮件:

Hi developers at ...,

After review, appName, com.app.package, has been removed from Google Play due to a policy violation. This app won’t be available to users until you submit a compliant update.

Issue: Violation of Usage of Android Advertising ID policy and section 4.8 of the Developer Distribution Agreement

Google Play requires developers to provide a valid privacy policy when the app requests or handles sensitive user or device information. We’ve identified that your app collects and transmits the Android advertising identifier, which is subject to a privacy policy requirement. If your app collects the Android advertising ID, you must provide a valid privacy policy in both the designated field in the Play Console, and from within the app.

Next steps: Submit your app for another review

Read through the Usage of Android Advertising ID and User Data policies, as well as the Developer Distribution Agreement, and make appropriate changes to your app. If you decide to collect sensitive user information, be sure to abide by the above policies, and include a link to a valid privacy policy on your app's store listing page and within your app. Make sure that your app is compliant with all other Developer Program Policies. Additional enforcement could occur if there are further policy violations. Sign in to your Play Console and submit the update to your app. Alternatively, you may opt-out of this requirement by removing any requests for sensitive permissions or user data.

If approved, your app will again be available with all installs, ratings, and reviews intact.

If you’ve reviewed the policy and feel this removal may have been in error, please reach out to our policy support team. One of my colleagues will get back to you within 2 business days.

Thanks for helping us provide a clear and transparent experience for Google Play users.

Regards,

Justin

我根本不收集或传输 Android 广告,即使我不在我的应用程序中显示广告。
我已将这些依赖项添加到应用级别 gradle:

// Firebase Core
implementation 'com.google.firebase:firebase-core:16.0.7'

// Crashlytics
implementation 'com.crashlytics.sdk.android:crashlytics:2.9.8'

// Firebase Cloud Messaging
implementation 'com.google.firebase:firebase-messaging:17.3.4'

// Google Play services
implementation 'com.google.android.gms:play-services-auth:16.0.1'

如果我必须在我的应用程序中添加隐私政策,我该如何创建隐私政策?

编辑: 我添加了隐私政策,几个小时后,我的应用程序再次发布。为了创建隐私政策,我使用了这个 template

因为您使用了 Google Play 服务,它允许您访问广告商 ID 作为 API 的一部分:http://www.androiddocs.com/google/play-services/id.html

您可以通过 Google 为您的项目遵循此隐私政策指南 https://developers.google.com/actions/policies/privacy-policy-guide

在设计方面,我会把它放在可见的地方。告诉您的客户您为什么使用 Google Play API,并用您的客户会理解的语言表达出来。

具体来说,我已经很清楚了:

Read through the Usage of Android Advertising ID and User Data policies, as well as the Developer Distribution Agreement, and make appropriate changes to your app. If you decide to collect sensitive user information, be sure to abide by the above policies, and include a link to a valid privacy policy on your app's store listing page and within your app. Make sure that your app is compliant with all other Developer Program Policies. Additional enforcement could occur if there are further policy violations. Sign in to your Play Console and submit the update to your app. Alternatively, you may opt-out of this requirement by removing any requests for sensitive permissions or user data.

您要么停止使用 Google Play 服务,要么在您的描述、应用和应用商店中添加有效的隐私政策。

您还可以通过 Firebase disable 广告 ID 和分析:

  • 禁用广告 ID:

    <meta-data android:name="google_analytics_adid_collection_enabled" android:value="false" />
    
  • 禁用分析:

    <meta-data android:name="firebase_analytics_collection_deactivated" android:value="true" />
    

或者,您可以编写您的隐私政策to say that you use这些可能会收集用户数据的第三方 SDK: