react-native-admob icon indicating copy to clipboard operation
react-native-admob copied to clipboard

App crashes using react-native-maps and react-native-admob together

Open denispixi opened this issue 6 years ago • 3 comments

First, I created a project with react-native-maps, and it worked normally, everything works then, I added react-native-admob, and the map no longer works, and I get a message: "the application is crashed", why is this happening?

If I comment the map code, the application works fine and shows the banner, but if I uncomment it, the application is crashed :(

denispixi avatar Jul 03 '18 21:07 denispixi

check this com.google.android.gms:play-services-ads:+ in both gradle files

Suraj-Tiwari avatar Jul 13 '18 13:07 Suraj-Tiwari

Having a similar issue on iOS. Build an app with maps. Works. Build an app with Admob works. Build app using both and I get Argument list too long: recursive header expansion failed & RGADBANNERVIEW not found in UI Manager.

bflopez avatar Aug 09 '18 21:08 bflopez

I have the same issue. Just simple react native maps app, when I add admob banner, app starts to crash on startup or on screen orientation change. Tried also expo-ads-admob, @react-native-firebase/admob - same issue.

andkom avatar Aug 17 '20 14:08 andkom