Followed the following steps:
Tried the same process with
I had the same problem. It happens because there is a mistake on linking. My closed issue is below.
https://github.com/sbugert/react-native-admob/issues/230
verified it. after "react-native link" it worked.
This continued happening to me on Android after react-native link. It turned out that the linking process hadn't added the package into my MainApplication.java like so:
import com.sbugert.rnadmob.RNAdMobPackage;
new RNAdMobPackage()
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
I solved my problem with re-install the component npm install react-native-admob@next --save and react-native link and re-compile the project.
finally did you use the project by npm run eject?
still having this issue after linking and upgrading to latest version. Linking is not working.
Most helpful comment
This continued happening to me on Android after
react-native link. It turned out that the linking process hadn't added the package into myMainApplication.javalike so: