Replies: 1 comment 11 replies
-
I think this is what you are looking for, in the install docs |
Beta Was this translation helpful? Give feedback.
11 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I managed to fix my app that was constantly crashing after updating React Native to latest version. I updated fnfirebase components as well.
I wasn't getting any error messages in the terminal window nor in Chrome, but after a while I discovered this error in Xcode when running the app from there:
"The Google Mobile Ads SDK was initialized without an application ID. Google AdMob publishers, follow instructions at https://googlemobileadssdk.page.link/admob-ios-update-plist to set a valid application ID. Google Ad Manager publishers, follow instructions at https://googlemobileadssdk.page.link/ad-manager-ios-update-plist".
If I would clean cache, clean build folder, clean node_modules, or pod install, then app would work only first time i run it, but not second time or any other time after that.
The only thing that worked was to add this code to info.plist:
as stated here: https://developers.google.com/ad-manager/mobile-ads-sdk/ios/quick-start#update_your_infoplist
There is nothing about this in rnfirebase docs and I would like to find out what I was/am doing wrong? Is this just missing in the docs or do I have some code left from old versions of rnfirebase?
I am using:
"@react-native-firebase/admob": "^7.6.10",
"@react-native-firebase/app": "^8.4.7",
"react-native": "0.63.3",
P.s. I use rnfirebase in other apps where I don't use AdMob and everything works without editing info.plist
Beta Was this translation helpful? Give feedback.
All reactions