Google Play 商店因未经认证的广告 SDK、React Native 拒绝应用

问题描述

在 Google Play 上发布应用时,我们遇到了“您的应用包含未经认证的广告 SDK»

简而言之,这意味着我们的广告 SDK 不符合 Google 的要求。 我们的应用程序属于“儿童”组。

我们也参与了 "Apps for the Whole Family" 计划

对于广告,我们使用 react-native-firebase/admob 在检查了经过认证的 SDK 列表后,我们在那里找到了 admob。也就是说,这点应该没问题。

接下来,我们按照 Google 的要求配置了接收广告的请求。

admob()
  .setRequestConfiguration({
    maxAdContentrating: MaxAdContentrating.G,tagForChildDirectedTreatment: true,tagForUnderAgeOfConsent: true,})

重新发送申请后,我们又收到了同样原因的失败。 有人尝试将应用程序与 expo sdk 和裸 react-native 一起发送。 这也没有产生任何结果。

我们的 package.json 看起来像这样:

{
  "name": "My Little Genius","version": "0.0.1","private": true,"scripts": {
    "android": "react-native run-android","ios": "react-native run-ios","start": "react-native start","test": "jest","lint": "eslint ."
  },"dependencies": {
    "@ant-design/icons": "^4.6.2","@react-native-community/masked-view": "^0.1.11","@react-native-firebase/admob": "^11.5.0","@react-native-firebase/app": "^11.5.0","@react-navigation/stack": "^5.14.5","@reduxjs/toolkit": "^1.5.1","expo-av": "^9.1.2","react": "17.0.1","react-native": "0.64.1","react-native-animatable": "^1.3.3","react-native-elements": "^3.4.1","react-native-gesture-handler": "^1.10.3","react-native-linear-gradient": "^2.5.6","react-native-localization": "^2.1.7","react-native-looped-carousel": "^0.1.13","react-native-orientation-locker": "^1.3.1","react-native-paper": "^4.8.1","react-native-reanimated": "^2.1.0","react-native-rename": "^2.8.1","react-native-responsive-fontsize": "^0.5.0","react-native-safe-area-context": "^3.2.0","react-native-screens": "^3.2.0","react-native-swipe-gestures": "^1.0.5","react-native-unimodules": "^0.13.3","react-native-vector-icons": "^8.1.0"
  },"devDependencies": {
    "@babel/core": "^7.14.0","@babel/runtime": "^7.14.0","@react-native-community/eslint-config": "^2.0.0","@react-navigation/native": "^5.9.4","babel-jest": "^26.6.3","eslint": "^7.25.0","jest": "^26.6.3","metro-react-native-babel-preset": "^0.66.0","react-native-confetti-cannon": "^1.5.2","react-native-drax": "^0.8.0","react-redux": "^7.2.4","react-test-renderer": "17.0.1"
  },"jest": {
    "preset": "react-native"
  }
}

我们研究了文档,但还没有找到解决我们问题的方法。如果我们使用经过认证的 SDK 列表中的 SDK,那么 Google 为什么会对广告 SDK 发誓也不完全清楚。

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)