【发布时间】:2019-08-28 23:00:34
【问题描述】:
我第二次收到来自 google 的同一应用程序的这封电子邮件:
问题:违反使用 Android 广告 ID 政策和部分 4.8 开发者分发协议
Google Play 要求开发者在以下情况下提供有效的隐私权政策 应用程序请求或处理敏感的用户或设备信息。 我们发现您的应用收集并传输了 Android 广告标识符,受隐私政策约束 要求。如果您的应用收集 Android 广告 ID,您必须 在指定字段中提供有效的隐私政策 Play 管理中心,以及在应用内。
在这一点上,很明显我做错了什么。我在网上找到了很多关于这个问题的答案,我做了以下解决问题:
- 我打开了https://app-privacy-policy-generator.firebaseapp.com/ 并生成了一个策略:
- 我已将生成的政策的 HTML 上传到我的网站,并将链接放在 Google Play 开发者控制台中:
- 我在我的应用程序中添加了一个指向策略的链接,该链接与我在 google play 开发者控制台中放置的 URL 相同。可以通过以下方式访问该链接:
.
//Set the click event for the privacy policy
theView.findViewById(R.id.privacy_policy).setOnClickListener(
l -> startActivity(
new Intent(Intent.ACTION_VIEW, Uri.parse(PRIVACY_POLICY_URL))
)
);
我想知道:我还应该做什么?
即使我采取了这些行动,我的应用今天也被删除了。看看我的 gradle 文件是否有用:
dependencies {
implementation fileTree(dir: 'libs', include: ['*.jar'])
implementation 'com.android.support:appcompat-v7:28.0.0'
implementation 'com.android.support:design:28.0.0'
implementation 'com.android.support.constraint:constraint-layout:1.1.3'
implementation 'com.android.volley:volley:1.1.1'
implementation 'com.google.code.gson:gson:2.8.5'
implementation 'com.android.support:preference-v7:28.0.0'
implementation 'com.google.firebase:firebase-core:16.0.8'
implementation 'com.google.firebase:firebase-messaging:17.5.0'
implementation 'com.google.android.gms:play-services-ads:17.2.0'
testImplementation 'junit:junit:4.12'
androidTestImplementation 'com.android.support.test:runner:1.0.2'
androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.2'
}
apply plugin: 'com.google.gms.google-services'
我应该在策略生成器的Personally identifiable information you collect 字段中添加一些文本吗?如果空白,我已经离开了
【问题讨论】:
-
你解决过这个问题吗?
标签: android google-developers-console