Closed smakosh closed 3 years ago
make sure you have added your app id to the AndroidManifest.xml. That was my issue. https://github.com/thecodrr/react-native-google-admob#android
I did
Maybe the id is invalid?
have you tried the test id?ca-app-pub-3940256099942544~1458002511
didn't realize I copied this from the iOS setup documentation https://developers.google.com/admob/ios/quick-start but it worked for my app.
I removed the package and surprisingly the android app is still crashing on startup, going to start all over and move the codebase to the new RN project, closing this until I'm sure it is caused by this package.
I confirm that after installing this package again, the app crashes, the id isn't invalid.
@smakosh Can you please do adb logcat > logcat.log
with your device/emulator connected? Make sure to open the app and wait until it crashes and then press CTRL + C
. Then upload/copy-paste the contents of logcat.log
file here.
I installed the other package (main repository) & linked it manually & it's working well
@smakosh Can you send the logcat output? This is a similar problem to #6 but it's specific to a factor I don't know about. Hopefully, if you send the output of logcat
, I can debug and fix the issue.
Libraries