React-native-admob: "RNGADBannerView does not exist" error

Created on 18 Dec 2017  ·  10Comments  ·  Source: sbugert/react-native-admob

Hello,

I've tried to use react-native-admob 2 beta but I'm getting this error.
screen shot 2017-12-19 at 00 53 00

I don't know what to do, could anyone please help me?

Before anyone asks; I had started with create-react-native-app command but before then using admob I ejected my app.

My dependencies are below.
"dependencies": {
"axios": "^0.17.1",
"expo": "^23.0.4",
"react": "16.0.0",
"react-native": "0.50.3",
"react-native-admob": "^2.0.0-beta.4",
"react-native-loading-spinner-overlay": "^0.5.2",
"react-native-render-html": "^3.5.2",
"react-navigation": "^1.0.0-beta.21",
"react-redux": "^5.0.6",
"redux": "^3.7.2",
"redux-promise": "^0.5.3",
"redux-saga": "0.16.0",
"redux-thunk": "^2.2.0"
}

All 10 comments

Looks like you forgot to “link” the project. Please check the installation section in the README

Maybe I've screwed up somehow but Xcode and terminal say that it is linked.

screen shot 2017-12-19 at 01 21 17

screen shot 2017-12-19 at 01 16 08
screen shot 2017-12-19 at 01 16 34

The icon of the library should not look like that actually..

Can you try to follow the manual linking steps and see if that solves it?

I've thrown everything that I had and it worked :)

I've watched an youtube video before reading manual, that was a bad idea :/

screen shot 2017-12-19 at 12 19 04

Glad you figured it out. Going to close this now.

Btw, you do not need to (should not) add the xcodeproj file to the linked libs

Thank you! Last quick question, do I need to do anything with my Admob app Id like we should do on swift/xcode?

It works without, but I believe Google recommends it. To add it you should use the documented way; so just adding it to the AppDelegate for iOS, and using the respective way on Android too.

I also face the same issue. I share a link, this issue mention here with the solution. It might be helpful to you.
Pls refer this link:
https://react-native-solutions.blogspot.com/2018/07/how-to-create-react-native-app-with.html

me too...

Was this page helpful?
0 / 5 - 0 ratings

Related issues

lydongray picture lydongray  ·  4Comments

kanekotic picture kanekotic  ·  6Comments

xencodes picture xencodes  ·  5Comments

danvass picture danvass  ·  6Comments

furkancelik picture furkancelik  ·  5Comments