iOS Question Crash: 'The Google Mobile Ads SDK was initialized without an application ID.'

kstainsb

Member
Licensed User
Longtime User
I'm trying to build my app on a new machine. It crashes on running with the error above. I couldn't find any reference to this problem on this forum, but found this post in stackoverflow which is the same:

https://stackoverflow.com/questions...b-initialized-without-an-application-id-error

As suggested in the responses, I tried adding the GADIsAdManagerApp = True and GADApplicationIdentifier = admob app ID entries in the googleservice-info.plist file, but the app still crashes.

Any ideas?
 

kstainsb

Member
Licensed User
Longtime User
I'm using the hosted builder. Problem was fixed by adding the new lines:

B4X:
#PlistExtra:<key>NSPhotoLibraryUsageDescription</key><string>Select a photo.</string>
#PlistExtra:<key>NSCameraUsageDescription</key><string>Taking a photo.</string>
#PlistExtra:<key>NSPhotoLibraryAddUsageDescription</key><string>Save photo in albums.</string>
 
Last edited:
Upvote 0
Top