Skip to content
This repository has been archived by the owner on May 19, 2021. It is now read-only.

0.26.0 crash on ios after splash screen #352

Open
bx67212 opened this issue Apr 10, 2019 · 6 comments
Open

0.26.0 crash on ios after splash screen #352

bx67212 opened this issue Apr 10, 2019 · 6 comments

Comments

@bx67212
Copy link

bx67212 commented Apr 10, 2019

hi, tnx for your work 馃檶
Yesterday I update my app with your plugin and it was perfect on android. On ios, instead, it crashed so I have forced to 0.25.0 version ;)

@shonek007
Copy link

Same here, version 0.26.0 crashes after the splash screen on iOS, this is the console info:

*** Terminating app due to uncaught exception 'GADInvalidInitializationException', reason: 'The Google Mobile Ads SDK was initialized incorrectly. Google AdMob publishers should follow instructions here: https://googlemobileadssdk.page.link/admob-ios-update-plist to include the AppMeasurement framework, set the -ObjC linker flag, and set GADApplicationIdentifier with a valid App ID. Google Ad Manager publishers should follow instructions here: https://googlemobileadssdk.page.link/ad-manager-ios-update-plist'

I have set the ADMOB_APP_ID variable on installation.

@ersingencturk
Copy link

ersingencturk commented Apr 23, 2019

add this to your config.xml file

 <platform name="ios">
        <config-file parent="GADIsAdManagerApp" platform="ios" target="*-Info.plist">
            <true />
        </config-file> 
 </platform>

@involved1984
Copy link

add this to your config.xml file

 <platform name="ios">
        <config-file parent="GADIsAdManagerApp" platform="ios" target="*-Info.plist">
            <true />
        </config-file> 
 </platform>

Thanks alot ersingencturk. I'v been trying with no luck for 2 days. You saved me from aging fast.

@Aihabam
Copy link

Aihabam commented Nov 11, 2019

add this to your config.xml file

 <platform name="ios">
        <config-file parent="GADIsAdManagerApp" platform="ios" target="*-Info.plist">
            <true />
        </config-file> 
 </platform>

YOU ARE AMAZING

@pklapuch
Copy link

pklapuch commented Jan 28, 2021

Can someone explain why is GADIsAdManagerApp key needed? It's not included in AdMob integration steps and interestingly until today my app would work without it... now suddenly it crashes without ( probably after pod update) currently:
Installing Google-Mobile-Ads-SDK (7.69.0)
Installing GoogleAppMeasurement (7.5.0)

I found this thread (https://groups.google.com/g/google-admob-ads-sdk/c/s_rkq9y1zvw)
"it will be necessary to add for Ad Manager a key GADIsAdManagerApp with boolean "yes" to the Info.plist as described here - https://developers.google.com/ad-manager/mobile-ads-sdk/ios/quick-start#update_your_infoplist"

Following the link - there's no mention of GADIsAdManagerApp key :)

OFC I have GADApplicationIdentifier in my info.plist.
Why do i need the GADIsAdManagerApp key?

@linhtranvu
Copy link

Confirm this is the solution until now

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants