【问题标题】:google removed my android app" Issue: Violation of Usage of Android Advertising ID policy and section 4.8 of the Developer Distribution Agreementgoogle 删除了我的 android 应用”问题:违反使用 Android 广告 ID 政策和开发者分发协议第 4.8 节
【发布时间】:2019-05-29 21:07:27
【问题描述】:

我收到一封电子邮件,说我的 android 应用已被 google 删除:

其中提到:

Alternatively, you may opt-out of this requirement by removing any requests for sensitive permissions or user data.

我在 Android Manifest 中拥有以下权限。

<uses-permission android:name="android.permission.INTERNET" /> <!-- is required for volley -->
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
<uses-permission android:name="com.google.android.providers.gsf.permission.READ_GSERVICES" />
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.ACCESS_WIFI_STATE" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />

以下是我的android build.gradle

apply plugin: 'com.android.application'

android {
    compileSdkVersion 26
    buildToolsVersion "26.0.2"

    defaultConfig {
        applicationId "xxxxx.yyyyyy"
        minSdkVersion 17
        targetSdkVersion 26
        versionCode 3
        versionName "1.2"
    }
    buildTypes {
        release {
            minifyEnabled false
            proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
        }
    }
}

dependencies {
    implementation 'com.android.support.constraint:constraint-layout:1.0.2'
    compile fileTree(dir: 'libs', include: ['*.jar'])
    testCompile 'junit:junit:4.12'
    compile 'com.android.support:appcompat-v7:26.1.0'
    compile 'com.mcxiaoke.volley:library:1.0.19'
    compile 'com.github.bumptech.glide:glide:3.7.0'
    compile 'jp.wasabeef:glide-transformations:2.0.1'
    compile 'com.google.firebase:firebase-messaging:11.8.0'
    compile 'com.android.support:design:26.1.0'
    compile 'com.borjabravo:readmoretextview:2.0.1'
    compile 'com.android.support:cardview-v7:26.1.0'
}

apply plugin: 'com.google.gms.google-services'

哪些是导致隐私问题的权限或库

【问题讨论】:

  • Firs:你们有隐私政策吗?您的隐私政策中是否有关于您要求的危险权限的解释?以下是危险权限列表:stackoverflow.com/a/36937109/5223744
  • 是否有任何谷歌官方页面将权限列为危险或不危险
  • 试试这个链接:developer.android.com/guide/topics/permissions/overview您的 Google Play 控制台中是否链接了隐私政策?
  • 这个问题不应该集中在权限上,我认为应该更多地关注隐私政策以及这些权限是否已在您的隐私政策中考虑在内。

标签: android


【解决方案1】:

引用Android Runtime Permissions

危险权限是允许应用程序访问用户的私人数据或影响系统/其他应用程序的权限。如果您在清单中列出危险权限,则用户必须明确授予您的应用程序权限。

如果您查看该列表,您会发现 com.google.android.providers.gsf.permission.READ_GSERVICES 是一个危险的权限,会导致违规。

编辑:如果您因为使用 Google 地图而拥有该权限,则可以安全地将其删除为 it is not required anymore

【讨论】:

    猜你喜欢
    • 2019-02-27
    • 2019-07-03
    • 2018-10-20
    • 2019-02-22
    • 2019-03-08
    • 2019-08-17
    • 2015-06-13
    • 2019-09-25
    • 2017-06-26
    相关资源
    最近更新 更多