-
-
Notifications
You must be signed in to change notification settings - Fork 154
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[🐛] Bug Report Title - Error with expo sdk 52 - 'RNGoogleMobileAdsModule' could not be found. #676
Comments
I read: "I am using Expo and my app doesn't properly load this custom native module I am trying to use" Which is probably the most common expo issue logged in github repositories for custom native modules. You need to read up on the Expo documentation related to building your app when you are integrating custom native modules and make absolutely completely totally certain you know all the subtleties around building your app on to your device such that the custom native module is included. A good word to search for is probably "prebuild", but from what I understand as a non-Expo user there are like 4 little subtle things that could go wrong with caching or wrong command invocation and such. All I can tell you is that the module works and if you build it correctly into the app and then install that app on your device it will work |
THIS WORK FOR ME {
"expo": {
"extra": {
"react-native-google-mobile-ads": {
"androidAppId": "ca-app-pub-000000~999999",
"iosAppId": "ca-app-pub-000000~999999",
"userTrackingUsageDescription": "Este identificador será usado para entregar anúncios personalizados para você."
}
}
},
"react-native-google-mobile-ads": {
"android_app_id": "ca-app-pub-000000~999999",
"ios_app_id": "ca-app-pub-000000~999999"
}
} |
@FranklysG seems pretty strange that it needs to be duplicated? That's unexpected |
yes, but if you look closely, the keys are different, only the values are the same |
I use EXPO with react-native-google-mobile-ads without problem. No need to duplicated : { This is not in extra |
Expo users should make use of the Expo config plugin and read our docs:
|
Thank you all for recomendations. npm install -g eas-cli More details here: https://coding-lilac.vercel.app/blog/adding_google_maps_to_react_native_app |
What happened?
Invariant Violation: TurboModuleRegistry.getEnforcing(...): 'RNGoogleMobileAdsModule' could not be found.
Platforms
Android and iOS
React Native Info
Are your using Typescript?
package.json
app.json
ios/Podfile
No response
android/build.gradle
No response
android/app/build.gradle
No response
android/settings.gradle
No response
AndroidManifest.xml
No response
The text was updated successfully, but these errors were encountered: