May be your react native version is less than Or equal to 0.59 that's why you get the error.... You can manual install the library of admob... You can find the manual integration in rnfirebase.io rnfirebase.io/install-android Here you can find
Actually brother ...sometimes it the manual integration which can help you ..I have not faced this issue for Admob but I face the same issue with the linear gradient. So to overcome that issue I manually link my package and also checked my MainApplication.java file. www.gitmemory.com/issue/invertase/react-native-firebase/2603/546498570
Bro! run npm upgrade @react-native-firebase/app and npm upgrade @react-native-firebase/admob then cd android gradlew clean and gradlew installDebug --stacktrace finally reinstall app and enjoy Thank in advance.
I think your react native version is less than 0.59 .. You can enter it manually. I have attached a link of rnfirebase.io Where you can find the manual integration. I think that solve your problem. For more details you can visit our site codehunger.in
At first can you integrate this manually.. May be that solve your problem. rnfirebase.io/install-android You can find the manual integration here www.gitmemory.com/issue/invertase/react-native-firebase/2603/546498570