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

UIManager.RNGADBannerView is undefined

Open PhilTheAir opened this issue 9 years ago • 7 comments

In the RNAdMobBanner.js, in the loadBanner(), the UIManager.RNGADBannerView is undefined.

Version of "react-native-admob": "^2.0.0-beta.2"

My react-native code is as below: <AdMobBanner adSize="fullBanner" adUnitID="....." onAdFailedToLoad={error => console.error(error)} />

I used create-react-native-app rather than react-native init to initialize my app.

Is anyone facing the same problem as I am ?

PhilTheAir avatar Nov 06 '17 12:11 PhilTheAir

Have the same problem over here

theeomm avatar Nov 09 '17 08:11 theeomm

i faced the same issue . this is my post : https://github.com/sbugert/react-native-admob/issues/212

yassineHub avatar Nov 16 '17 09:11 yassineHub

+1

KamranKhankhail avatar Nov 19 '17 06:11 KamranKhankhail

react-native link react-native-admob after that restart app.

mustafakucuk avatar Nov 25 '17 10:11 mustafakucuk

Since create-react-native-app uses Expo you will have to “eject” to make it work I’m afraid.

https://github.com/react-community/create-react-native-app/blob/master/EJECTING.md

koenpunt avatar Nov 28 '17 07:11 koenpunt

The issue is continuing.

LeaveNhA avatar May 22 '18 16:05 LeaveNhA

Now I have the same issue

macloving avatar May 25 '18 14:05 macloving