sbugert / react-native-admob

A react-native component for Google AdMob banners
BSD 2-Clause "Simplified" License
1.13k stars 532 forks source link

"RNGADBannerView" was not found in the UIManager #460

Closed jothikannan closed 4 years ago

jothikannan commented 4 years ago

Getting "RNGADBannerView" was not found in the UIManager error in RN "react-native": "0.60.4",

I have followed all the solutions given in the older issues, but still, I am getting this error, I believe that the issue arises again with >0.60. Please, someone, help me with

Screen Shot 2019-08-03 at 6 02 11 PM

this

adrianchancy commented 4 years ago

I face the same issue. No such issue in Android.

jonatasnardi commented 4 years ago

@jothikannan Did you solve this issue? I'm having the same problem :/

jonatasnardi commented 4 years ago

@jothikannan @adrianchancy I solved this issue linking manually on XCode. Follow these steps:

1) Open XCode e open this section below:

Screen Shot 2019-08-17 at 18 52 07

2) Drag and drop the files inside folder node_modules/react-native-admob/ios to this section above (except file RNAdMobManager.xcodeproj)

Screen Shot 2019-08-17 at 18 54 37

3) run react-native run-ios

Then it's working for me.

adrianchancy commented 4 years ago

thanks @jonatasnardi Anyway, as I could not solve it, I shifted to use react-native-firebase

gidox commented 4 years ago

@jothikannan @adrianchancy I solved this issue linking manually on XCode. Follow these steps:

  1. Open XCode e open this section below:
Screen Shot 2019-08-17 at 18 52 07
  1. Drag and drop the files inside folder node_modules/react-native-admob/ios to this section above (except file RNAdMobManager.xcodeproj)
Screen Shot 2019-08-17 at 18 54 37
  1. run react-native run-ios

Then it's working for me.

this works for me

koenpunt commented 4 years ago

I've pushed a new beta version (v2.0.0-beta.6) that includes a podspec, so the autolinking functionality should now work, without manually adding the files to the Xcode project.

mxvsh commented 4 years ago

thanks @jonatasnardi Anyway, as I could not solve it, I shifted to use react-native-firebase

does react-native-firebase provide admob?

mxvsh commented 4 years ago

I've pushed a new beta version (v2.0.0-beta.6) that includes a podspec, so the autolinking functionality should now work, without manually adding the files to the Xcode project.

what about android, cuz i am getting the same problem... 😢

kostiantyn-solianyk commented 3 years ago

same issue on android

fvilar commented 3 years ago

same issue on android...

ObedAmpah commented 3 years ago

I also have the same issue on Android

rochapablo commented 2 years ago

Any update on this?

YousefAlsbaihi commented 2 years ago

i'm not usre if this is still usefull but i installed the library again

  1. run this command to unlink if it's linked, remember react native auto-linking is working fine npx react-native unlink react-native-admob
  2. remove the library from the project npm unlink react-native-admob -S
  3. run pod install npx pod-install OR cd ios && pod install
  4. install the library again npm i react-native-admob -S OR yarn react-native-admob
  5. after installation complete, open ios/Podfile file and add the following pod 'Google-Mobile-Ads-SDK', '7.69.0'
  6. run pod install

that should solve it.

salnetx commented 1 year ago

Any update on this, I am facing the same problem.