bubjavier / react-native-dfp

A react-native bridge for Google Mobile Ads' DFP libraries
13 stars 12 forks source link

"RNDFPBanner" was not found in the UIManager #12

Open luatnd opened 4 years ago

luatnd commented 4 years ago

App was built successfully but I got this error from JS side:

2020-02-24 14:20:05.548 [error][tid:com.facebook.react.JavaScript] Invariant Violation: requireNativeComponent: "RNDFPBanner" was not found in the UIManager.

This error is located at:
    in RNDFPBanner (at RNDFPBanner.js:62)
    in RCTView (at RNDFPBanner.js:61)
    in DFPBanner (at NewsPage.js:254)
    in RCTView (at NewsPage.js:253)
    in RCTView (at NewsPage.js:252)
    ...
2020-02-24 14:20:05.572 [error][tid:com.facebook.react.JavaScript] Invariant Violation: requireNativeComponent: "RNDFPBanner" was not found in the UIManager.

Steps:

yarn add react-native-dfp
react-native link react-native-dfp

Env:

react-native@0.61.5