代码之家  ›  专栏  ›  技术社区  ›  Mahdi Bashirpour

React Native:违反Android广告ID政策和开发者发行协议第4.8节的使用

  •  3
  • Mahdi Bashirpour  · 技术社区  · 7 年前

    React Native App :

    形式

    我用这个

    "dependencies": {
      "lodash": "^4.17.10",
      "react": "16.3.1",
      "react-native": "0.55.3",
      "react-native-device-info": "^0.21.5",
      "react-native-elements": "^0.19.1",
      "react-native-google-analytics-bridge": "^5.8.0",
      "react-native-google-places-autocomplete": "^1.3.6",
      "react-native-map-clustering": "^1.3.0",
      "react-native-maps": "*",
      "react-native-masked-text": "^1.7.2",
      "react-native-onesignal": "^3.2.5",
      "react-native-svg": "^7.0.3",
      "react-native-ui-kitten": "^3.0.1",
      "react-native-vector-icons": "^4.6.0",
      "react-navigation": "^2.0.2",
      "victory-native": "^30.4.0"
    },
    
    2 回复  |  直到 7 年前
        1
  •  1
  •   Developer    6 年前

    我认为您使用这些依赖项:react native device info,react native google analytics bridge,它们会导致您的问题,您必须为google的应用程序提供url策略

        2
  •  1
  •   Mahdi Bashirpour    6 年前

    根据 Firebase docs

    添加此 meta-data 在你的 AndroidManifest.xml <Application> 标签

    <meta-data android:name="google_analytics_adid_collection_enabled" android:value="false" />
    

    configurations 在你的 build.gradle

    buildscript {
        configurations {
            all*.exclude group: 'com.google.firebase', module: 'firebase-core'
            all*.exclude group: 'com.google.firebase', module: 'firebase-iid'
        }
        repositories {
            ...
        }
        dependencies {
            ...
        }
    }
    

    资源: Is my app or its dependencies violating the Android Advertising Id policy?

        3
  •  0
  •   Mahdi Bashirpour    6 年前

    您可以在这里使用 this

    然后

    1. 然后你必须在游戏商店中放置相同的链接。去游戏商店 console -> Store presence -> Store listing

    你的应用程序将在2小时内恢复联机!