{
"content" : "Backtrace of Thread 771:\nlibsystem_kernel.dylib 0x1d977e404 kevent_id + 8\nlibdispatch.dylib 0x10506dee0 _dispatch_kq_poll + 228\nlibdispatch.dylib 0x10506e988 _dispatch_event_loop_wait_for_ownership + 436\nlibdispatch.dylib 0x10505ca74 __DISPATCH_WAIT_FOR_QUEUE__ + 308\nlibdispatch.dylib 0x10505c4c0 _dispatch_sync_f_slow + 176\nAVFCore 0x1b4e3e638 <redacted> + 80\nAVFCore 0x1b4e3ecc4 <redacted> + 564\nAVFCore 0x1b4eb80c0 <redacted> + 428\nAVFCore 0x1b4e3e838 <redacted> + 324\nAVFCore 0x1b4e431ac <redacted> + 200\nStory ones 0x102dd8210 GAD_GADVideoPlayer_arm64_8_5_0 + 2080\nStory ones 0x102e90adc GADPostNotification + 4144\nFoundation 0x1aead84d8 <redacted> + 316\nCoreFoundation 0x1ad880370 <redacted> + 20\nCoreFoundation 0x1ad880330 <redacted> + 48\nCoreFoundation 0x1ad87f928 <redacted> + 400\nCoreFoundation 0x1ad87f320 _CFXNotificationPost + 696\nFoundation 0x1aeab50a0 <redacted> + 60\nStory ones 0x102e904d4 GADPostNotification + 2600\nStory ones 0x102e8fb28 GADPostNotification + 124\nStory ones 0x102e5f358 __destroy_helper_block_e8_32s40s48r56w + 2428\nStory ones 0x102e5ec50 __destroy_helper_block_e8_32s40s48r56w + 628\nStory ones 0x102e90adc GADPostNotification + 4144\nFoundation 0x1aead84d8 <redacted> + 316\nCoreFoundation 0x1ad880370 <redacted> + 20\nCoreFoundation 0x1ad880330 <redacted> + 48\nCoreFoundation 0x1ad87f928 <redacted> + 400\nCoreFoundation 0x1ad87f320 _CFXNotificationPost + 696\nFoundation 0x1aeab50a0 <redacted> + 60\nStory ones 0x102e904d4 GADPostNotification + 2600\nStory ones 0x102e8fb28 GADPostNotification + 124\nStory ones 0x102e5de7c GAD_GADView_arm64_8_5_0 + 476\nUIKitCore 0x1b0687c70 <redacted> + 2016\nUIKitCore 0x1b067bb78 <redacted> + 136\nCoreAutoLayout 0x1c1f09934 <redacted> + 80\nUIKitCore 0x1b067ba80 <redacted> + 776\nUIKitCore 0x1b068a0d8 <redacted> + 2132\nStory ones 0x102e86ed4 GAD_GADInternalBannerView_arm64_8_5_0 + 8032\nStory ones 0x102e865a4 GAD_GADInternalBannerView_arm64_8_5_0 + 5680\nStory ones 0x102e86c68 GAD_GADInternalBannerView_arm64_8_5_0 + 7412\nlibdispatch.dylib 0x10504bce4 _dispatch_call_block_and_release + 24\nlibdispatch.dylib 0x10504d528 _dispatch_client_callout + 16\nlibdispatch.dylib 0x10505b994 _dispatch_main_queue_callback_4CF + 972\nCoreFoundation 0x1ad89d5e0 <redacted> + 12\nCoreFoundation 0x1ad897a88 <redacted> + 2480\nCoreFoundation 0x1ad896ba0 CFRunLoopRunSpecific + 572\nGraphicsServices 0x1c45d4598 GSEventRunModal + 160\nUIKitCore 0x1b01863d8 <redacted> + 1052\nUIKitCore 0x1b018b958 UIApplicationMain + 164\nStory ones 0x102089424 main + 140\n\n",
"duration" : "5264",
"title" : "2021-06-18 18:58:11.233"
}
The current situation is that we have entered the page with banner ads, and the APP cannot be used normally on all iOS devices. But when we only load image type ads, we can use the App normally. I hope you can help us to guide the reason for this phenomenon. Is it related to the loading of video-type ads? Thank you very much!
Best wishes!
Cheng ShuangShuang
Hi Cheng,
Thank you for reaching out to us.
Could you please provide the following details via Reply privately to author option or send it directly to mobileads...@gmail.com? Kindly inform us on this thread if you sent it directly to the email provided.
Regards,
|
||||||
|
||||||
+ (void)load
{
// UIApplicationDidFinishLaunchingNotification
[NSNotificationCenter.defaultCenter addObserver:self selector:@selector(appFinishLaunchingNoti:) name:UIApplicationDidFinishLaunchingNotification object:nil];
// Customer Notification
id<AccountServiceProtocol> provider = [ModuleServiceCenter.shareCenter getProviderByService:@protocol(AccountServiceProtocol)];
[NSNotificationCenter.defaultCenter addObserverForName:provider.userStatusRefresh object:nil queue:[NSOperationQueue mainQueue] usingBlock:^(NSNotification *note) {
// when receive the userStatusRefresh notification, need to update user information
[self updateUser];
}];
}
So, We registered a custom notification with MainQueue in +load(). When we delete the custom notification or put this code in appFinishLaunchingNoti:() , Our Google Ads is normally loaded. We want to know if Google Ads loading, is there a thread queue conflict with the custom notification in MainQueue?Thank you very much!
Yours Sincerely,
Cheng
Hi Shuang,
Thank you for your response.
Would it be possible for you to provide a sample app showing the behavior? Once provided, I can raise this to the rest of the team for further investigation and to get their context as well. You can send it via Reply privately to author option or send it directly to mobileads...@gmail.com? Kindly inform us on this thread if you sent it directly to the email provided.
Regards,
|
||||||
+ (void)load
{
[NSNotificationCenter.defaultCenter addObserver:self selector:@selector(appFinishLaunchingNoti:) name:UIApplicationDidFinishLaunchingNotification object:nil];
id<TestServiceProtocol> provider = [ModuleServiceCenter.shareCenter getProviderByService:@protocol(TestServiceProtocol)];
NSString *noti = provider.customerNotification;
// noti isn't nil is normally loading ads
noti = @"Noti";
// but setting noti is nil will unnormally loading ads
noti = nil;
[NSNotificationCenter.defaultCenter addObserverForName:noti object:nil queue:[NSOperationQueue mainQueue] usingBlock:^(NSNotification * _Nonnull note) {
[self updateInformation];
}];
}
I added a notification that get name is nil, so when anywhere post a nitification, the method will be run in mainQueue. When user open the app or open a UIViewController, the method also will be run, the app will be no response.
If you register a notification with no name in the main queue thread, it may be executed at any time during the process of using the App, but why will it affect the loading of the advertisement with video type?The picture type ads can be loading normally. Thank you very much!
|
||||||
Hi Shuang,
Thank you for getting back to us.
I’ve checked our banner sample app, and it doesn't have the code snippet that you provided here which causes conflict to your code. With this, could you please point it out to us on our sample app, so we could proceed with our investigation?
Regards,
|
||||||
|
||||||