StartApp-SDK / flutter-plugin

A Flutter plugin that uses native platform views to show ads from Start.io network.
Other
6 stars 3 forks source link

'GADInvalidInitializationException', reason: 'The Google Mobile Ads SDK was initialized without an application ID. #11

Closed mbahgojol closed 1 month ago

mbahgojol commented 5 months ago

i received a message from log, it's IOS App

*** Terminating app due to uncaught exception 'GADInvalidInitializationException', reason: 'The Google Mobile Ads SDK was initialized without an application ID. Google AdMob publishers, follow instructions at https://googlemobileadssdk.page.link/admob-ios-update-plist to set a valid application ID. Google Ad Manager publishers, follow instructions at https://googlemobileadssdk.page.link/ad-manager-ios-update-plist.'
*** First throw call stack:
(
    0   CoreFoundation                      0x000000010df8728d __exceptionPreprocess + 242
    1   libobjc.A.dylib                     0x000000010d883894 objc_exception_throw + 48
    2   CoreFoundation                      0x000000010df86d8b -[NSException init] + 0
    3   Runner                              0x00000001015ec456 GADApplicationVerifyPublisherInitializedCorrectly + 302
    4   Runner                              0x00000001015ec608 GADApplicationVerifyPublisherInitializedCorrectly + 736
    5   libdispatch.dylib                   0x0000000112ad7747 _dispatch_call_block_and_release + 12
    6   libdispatch.dylib                   0x0000000112ad89f7 _dispatch_client_callout + 8
    7   libdispatch.dylib                   0x0000000112adb4eb _dispatch_queue_override_invoke + 1487
    8   libdispatch.dylib                   0x0000000112aec7f1 _dispatch_root_queue_drain + 369
    9   libdispatch.dylib                   0x0000000112aed3b5 _dispatch_worker_thread2 + 277
    10  libsystem_pthread.dylib             0x0000000115addc06 _pthread_wqthread + 262
    11  libsystem_pthread.dylib             0x0000000115adcb97 start_wqthread + 15
)
libc++abi: terminating due to uncaught exception of type NSException
StartApp-SDK commented 4 months ago

It is not StartApp-SDK exception, but Google Mobile Ads SDK. We do not have dependency on this SDK so you added it yourself. As exception states, seems you did not initialise Google Mobile Ads SDK. Please refer to Google Mobile Ads SDK documentation and forward this question to Google Mobile Ads SDK team.