ammarahm-ed/react-native-admob-native-ads

requireNativeComponent: "RNGADNativeView" was not found in the UIManager.

mhr996 opened this issue · 4 comments

mhr996 commented

I'm using this library in my expo app (SDK 47), everything was fine during the installation and set-up, but once I add the <NativeAdView> component, it crashes and gives this error, what could be the problem?

full error:

ERROR Invariant Violation: requireNativeComponent: "RNGADNativeView" was not found in the UIManager.

This error is located at:
in RNGADNativeView (created by NativeAdView)
in NativeAdView (created by ItemSeparatorComponent)
in RCTView (created by View)

Try v0.6.3 and follow installation steps. The library now supports expo.

mhr996 commented

@ammarahm-ed will do, thank you so much

Hey,

I've tried using v0.6.6 of react-native-admob-native-ads but still get the same error:

ERROR Invariant Violation: requireNativeComponent: "RNGADNativeView" was not found in the UIManager.

I tried even to downgrade the react-native-admob-native-ads to v0.6.3 as you suggested here, but still didn't work.

I'm using:

 "react-native": "0.71.7"
 "expo": "48.0.6"
mhr996 commented

@stefanatanasovmk rebuild your development environment apk then try again