sbugert / react-native-admob

A react-native component for Google AdMob banners
BSD 2-Clause "Simplified" License
1.13k stars 531 forks source link

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

Open denispixi opened 6 years ago

denispixi commented 6 years ago

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 :(

Suraj-Tiwari commented 6 years ago

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

bflopez commented 6 years ago

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.

andkom commented 4 years ago

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.