Hi Google Experts,I have encountered a serious crash issue when using Admob mediation for interstitials. It can be 100% reproduced.Generally speaking, when application is switched to background while an interstitial is present, then next time a new interstitial is requested, the application will crash.platform: iOS 6.1.2SDK: Admob SDK 6.3.0code: Download the example project - example provided by you.result: App crash at line 60 of MainController.m:self.interstitial = [[[GADInterstitial alloc] init] autorelease];
reproduce steps:1). After the example app starts up, Click the 'Show Interstitial' button to show the interstitial ad.2). Press the 'Home' button of your iOS device3). Go back to the example app by clicking the app icon, then click the 'Show Interstitial' button again4). You only need to repeat step 2 to 3 at most two times to see the crash.Br,Liu Ya--
---
You received this message because you are subscribed to the Google Groups "Google AdMob Ads Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-admob-ads...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
Hi Raj,The crash I encountered was very similar to that described in your link. Only happend in mediated interstitial.However, I found another way to reproduce the crash, even to use NO-MEDIATED interstitial.1. Request an interstitial without showing it. i.e. DONOT call presentFromRootViewController2. Switch the App to background3. Switch the App back to foreground and call presentFromRootViewController or create a new interstitial using self.interstitial = [[[GADInterstitial alloc] init] autorelease];4. Crash should happenWhat's more, the previous hidden status bar will appear after step 3.Hope you could reproduce this issue following my steps.Br,Liu Ya
To unsubscribe from this group and stop receiving emails from it, send an email to google-admob-ads-sdk+unsub...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
You received this message because you are subscribed to a topic in the Google Groups "Google AdMob Ads Developers" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/google-admob-ads-sdk/7xGUZlYlgYg/unsubscribe?hl=en-US.
To unsubscribe from this group and all its topics, send an email to google-admob-ads...@googlegroups.com.
According to this discussion I inserted those lines:self.adInterstitial.delegate = nil;self.adInterstitial = nil;in- (void)interstitial:(GADInterstitial *)ad didFailToReceiveAdWithError:(GADRequestError *)errorand- (void)applicationDidEnterBackground:(NSNotification *)notification...but there are still crashes looking at Crashlytics!When 6.3.1 will be released? :) thanks
Hi Google Team,I've also been experiencing this problem too but in a slightly different way but I think it might be linked.I've got an interstitial setup with mediated ads (Tremor, Millenial, AdMob). I think what is happening is when the app goes to background while a banner ad is in view it will dealloc the interstitialand when the app becomes active again,- (void)interstitialDidDismissScreen:(GADInterstitial *)adwill be called if its a banner ad (admob) - if its a tremor video ad, interstitialDidDismissScreen: does not get called.My code will release the interstitial again and this will cause the crash, right now the workaround I have is when the app goes to background I will not release the interstitial if the app returns to foreground.I don't think the interstitial should be dismissed when the app is placed in the background via the home button (it should if the ad was tapped).I'm retaining the interstitial so I'm wondering how it could reduced to memory count 0.Do you have an estimate when the new SDK would be released?Cheers,Jarrold
On Saturday, April 6, 2013 7:38:53 AM UTC+8, Raj Parameswaran wrote:
Unfortunately I think that only works when the interstitial hasn't been presented yet. We've got an updated SDK we're releasing soon which will fix this issue.
On Wed, Apr 3, 2013 at 2:44 AM, Marco Muccinelli <mucc...@gmail.com> wrote:
According to this discussion I inserted those lines:self.adInterstitial.delegate = nil;self.adInterstitial = nil;in- (void)interstitial:(GADInterstitial *)ad didFailToReceiveAdWithError:(GADRequestError *)errorand- (void)applicationDidEnterBackground:(NSNotification *)notification...but there are still crashes looking at Crashlytics!When 6.3.1 will be released? :) thanks
--
---
You received this message because you are subscribed to the Google Groups "Google AdMob Ads Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-admob-ads-sdk+unsub...@googlegroups.com.
Hi Raj. Yup the problem has been resolved with 6.4.0. Thanks!
You received this message because you are subscribed to a topic in the Google Groups "Google AdMob Ads Developers" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/google-admob-ads-sdk/7xGUZlYlgYg/unsubscribe?hl=en-US.
To unsubscribe from this group and all its topics, send an email to google-admob-ads...@googlegroups.com.