Fatal exception after upgraded to 0.13.0
See original GitHub issuePlugin Version
0.13.0
Steps to Reproduce
Upgrade from 0.12.2 to 0.13.0 Implemented interstitial ad same as example.
InterstitialAd.load(
adUnitId: unitId,
request: AdRequest(),
adLoadCallback: InterstitialAdLoadCallback(
onAdLoaded: (InterstitialAd ad) {
_myInterstitial = ad;
},
onAdFailedToLoad: (LoadAdError error) {
},
));
_myInterstitial.fullScreenContentCallback = FullScreenContentCallback(
onAdShowedFullScreenContent: (InterstitialAd ad) {
print('onAdShowedFullScreenContent.');
},
onAdDismissedFullScreenContent: (InterstitialAd ad) {
print('onAdDismissedFullScreenContent.');
_myInterstitial.dispose();
},
onAdFailedToShowFullScreenContent: (InterstitialAd ad, AdError error) {
print('noAdFailedToShowFullScreenContent: $error');
_myInterstitial.dispose();
},
onAdImpression: (InterstitialAd ad) =>
print('$ad impression occurred.'),
);
_myInterstitial.show();
Expected results:
No crash
Actual results:
Lot of crashes
I couldn’t reproduce the issue on my side but got ton of crashes report from Crashlytics after upgraded to 0.13.0
Fatal Exception: NSInvalidArgumentException
0 CoreFoundation 0x22da4527c __exceptionPreprocess
1 libobjc.A.dylib 0x22cc1f9f8 objc_exception_throw
2 CoreFoundation 0x22d9bece8 _CFArgv
3 CoreFoundation 0x22d9469a8 -[__NSPlaceholderDictionary initWithObjects:forKeys:count:]
4 CoreFoundation 0x22d937584 +[NSDictionary dictionaryWithObjects:forKeys:count:]
5 Runner 0x102b90e14 -[FLTAdInstanceManager sendAdEvent:ad:] + 183 (FLTAdInstanceManager_Internal.m:183)
6 Runner 0x102b8edfc -[FLTInterstitialAd adDidRecordImpression:] + 355 (FLTAd_Internal.m:355)
7 Runner 0x102a118b8 GAD_GADInterstitialAd_arm64_8_5_0
8 Runner 0x1029991b4 __copy_helper_block_e8_32s40s48s56b64s
9 Foundation 0x22e4a9ef8 __NSBLOCKOPERATION_IS_CALLING_OUT_TO_A_BLOCK__
10 Foundation 0x22e3b63e0 -[NSBlockOperation main]
11 Foundation 0x22e3b58c8 -[__NSOperationInternal _start:]
12 Foundation 0x22e4abc7c __NSOQSchedule_f
13 libdispatch.dylib 0x22d4337f0 _dispatch_block_async_invoke2
14 libdispatch.dylib 0x22d4857d4 _dispatch_client_callout
15 libdispatch.dylib 0x22d433004 _dispatch_main_queue_callback_4CF$VARIANT$mp
16 CoreFoundation 0x22d9d6c1c __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__
17 CoreFoundation 0x22d9d1b54 __CFRunLoopRun
18 CoreFoundation 0x22d9d10b0 CFRunLoopRunSpecific
19 GraphicsServices 0x22fbd179c GSEventRunModal
20 UIKitCore 0x25a37f978 UIApplicationMain
21 Runner 0x102849a70 main + 11 (AppDelegate.swift:11)
22 libdyld.dylib 0x22d4968e0 start
Fatal Exception: NSInvalidArgumentException
0 CoreFoundation 0x22da4527c __exceptionPreprocess
1 libobjc.A.dylib 0x22cc1f9f8 objc_exception_throw
2 CoreFoundation 0x22d9bece8 _CFArgv
3 CoreFoundation 0x22d9469a8 -[__NSPlaceholderDictionary initWithObjects:forKeys:count:]
4 CoreFoundation 0x22d937584 +[NSDictionary dictionaryWithObjects:forKeys:count:]
5 Runner 0x102b90e14 -[FLTAdInstanceManager sendAdEvent:ad:] + 183 (FLTAdInstanceManager_Internal.m:183)
6 Runner 0x102b8edfc -[FLTInterstitialAd adDidRecordImpression:] + 355 (FLTAd_Internal.m:355)
7 Runner 0x102a118b8 GAD_GADInterstitialAd_arm64_8_5_0
8 Runner 0x1029991b4 __copy_helper_block_e8_32s40s48s56b64s
9 Foundation 0x22e4a9ef8 __NSBLOCKOPERATION_IS_CALLING_OUT_TO_A_BLOCK__
10 Foundation 0x22e3b63e0 -[NSBlockOperation main]
11 Foundation 0x22e3b58c8 -[__NSOperationInternal _start:]
12 Foundation 0x22e4abc7c __NSOQSchedule_f
13 libdispatch.dylib 0x22d4337f0 _dispatch_block_async_invoke2
14 libdispatch.dylib 0x22d4857d4 _dispatch_client_callout
15 libdispatch.dylib 0x22d433004 _dispatch_main_queue_callback_4CF$VARIANT$mp
16 CoreFoundation 0x22d9d6c1c __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__
17 CoreFoundation 0x22d9d1b54 __CFRunLoopRun
18 CoreFoundation 0x22d9d10b0 CFRunLoopRunSpecific
19 GraphicsServices 0x22fbd179c GSEventRunModal
20 UIKitCore 0x25a37f978 UIApplicationMain
21 Runner 0x102849a70 main + 11 (AppDelegate.swift:11)
22 libdyld.dylib 0x22d4968e0 start
Issue Analytics
- State:
- Created 2 years ago
- Reactions:3
- Comments:11
Top Results From Across the Web
FATAL ERROR: Unsupported terraform version (0.13.0-beta2)
Description : terraform-compliance trhows error if the state is created by terraform version 0.13.0-beta2 To Reproduce Install terraform ...
Read more >How to fix flutter app not launching with fatal exception after ...
I recently upgraded flutter to 1.2 and on testing it on a real device it ends up crashing. Here's is the error it...
Read more >Plugin reinitialization error after upgrade to Terraform 0.13
Problem After upgrading your Terraform code to version 0.13, applies are failing with variations of this error. Depending on the provider...
Read more >Issues for Upgrade Status | Drupal.org
Title Status Priority Cat...
scan result does not update after problems fixed Active Normal Bug...
Remove custom background colours Needs work Normal Bug...
ExtensionPathResolver::getPath() strange advise...
Read more >DGX A100 Firmware Changes - NVIDIA Documentation Center
The BMC now saves CPU MCA registers wihen it detects a fatal MCA error. Changes in 01.00.01. Fixed BMC update via dashboard erroneously ......
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Because this is an urgent issue for my app. I forked the repo and made a work-around to prevent app for crashing while waiting for this issue to be fix. Anyone have the same issue can use this forked in the mean time: https://github.com/longphanmn/googleads-mobile-flutter
This is a duplicate of https://github.com/googleads/googleads-mobile-flutter/issues/138, which should be fixed by https://github.com/googleads/googleads-mobile-flutter/pull/290 in the latest release (v0.13.2).