She*_*epa 2 crash admob react-native react-native-firebase
如何添加react-native-firebase admob以反应原生(“0.60.x”)。添加 admob 时应用程序崩溃。是否有其他选项可以将 admob 添加到反应本机应用程序。React-native-admob 也有同样的崩溃问题。
在 React Native 项目的根目录中,创建一个firebase.json file (if it doesn't already exist) and add the admob_android_app_id & admob_ios_app_id keys with the IDs from the Google AdMob console:
喜欢:
{
"react-native": {
"admob_android_app_id": "ca-app-pub-xxxxxxxx~xxxxxxxx",
"admob_ios_app_id": "ca-app-pub-xxxxxxxx~xxxxxxxx"
}
}
Run Code Online (Sandbox Code Playgroud)
| 归档时间: |
|
| 查看次数: |
799 次 |
| 最近记录: |