The used AdMob's Interstitial ad (iOS) freezes application

The used AdMob's Interstitial ad (iOS) freezes application
0.0 0


I have a AdMob Plugin (iOS). After show Interstitial ad I click it and leave application to safari browser. After back to application I click on “close” button on ad and ad is closed. But application still freezing, not wake up (all animation is freezing, not intractable). For wake up application I need to go to another application and then go back.
How can I solve this issue?


sorry, I can not reproduce this issue, can u check bellow apis are invoke when back to your app:


- (void)applicationWillEnterForeground:(UIApplication *)application {
    auto glview = (__bridge CCEAGLView*)(Director::getInstance()->getOpenGLView()->getEAGLView());
    auto currentView = [[[[UIApplication sharedApplication] keyWindow] subviews] lastObject];
    if (glview == currentView) {

After come back from safari currentView != glview (AdMob view still on top) so cocos application not invoke applicationWillEnterForeground