react-native-admob icon indicating copy to clipboard operation
react-native-admob copied to clipboard

Module 'GoogleMobileAds' not found

Open akhilsanker opened this issue 5 years ago • 8 comments

Getting 'Module 'GoogleMobileAds' not found' error in ,after react-native run-ios, in RNAdMobInterstitial.h file. Done the following steps: npm i --save react-native-admob@next react-native link react-native-admob

"react": "16.8.3",
"react-native": "0.59.8",
"react-native-admob": "^2.0.0-beta.5",

Do anyone know any workaround to solve this error? Any suggestion is appreciable.

Thanks

akhilsanker avatar May 24 '19 09:05 akhilsanker

did you add the Google Mobile Ads SDK to XCode? https://github.com/sbugert/react-native-admob#ios

aknad avatar May 24 '19 13:05 aknad

Hi @aknad , I have added it through pod file. Thanks

akhilsanker avatar May 27 '19 06:05 akhilsanker

@akhilsanker did you find a solution to this issue?

SDK is added and linked tried with and without manually editing search paths

pbomba avatar May 29 '19 17:05 pbomba

I've opened a PR to bring this library up to date with the latest version of React Native, which should fix this issue since there we rely on the SDK to be installed using CocoaPods: #472

koenpunt avatar Sep 15 '19 21:09 koenpunt

Same here. :(

manoelneto avatar Jan 11 '20 17:01 manoelneto

having same issue :( unable to find the solution

94sukhbrar avatar Jun 12 '20 05:06 94sukhbrar

the following comment fixed my issue https://github.com/thecodrr/react-native-google-admob/issues/5#issuecomment-520611734

rahulje9 avatar Nov 26 '20 13:11 rahulje9

I'm having same issue.

tayfunyasar avatar Dec 10 '20 11:12 tayfunyasar