Vungle crashing when tap on Ad on iOS7

I need a fix for this, my users have let me know that the app crashes when they click on the ad, but only on ios7, i’ve tested it on ios 5 and it works like a charm (as in Android), but i’ve actually tried it on ios7 and it does crash like the 100% of the times, the app just rolled out yesterday ad i want to come up with an update to fix it, but where is the problem?? what can i do? Thank you!

Thank you for posting this, @danielnieto89.  I tested my app on iOS7, and you are right.  Tapping on “download” simply exits the app and no download.  It’s a big problem.

Naomi

Actually, I tested Beetle Bounce that I deployed only recently with Vungle Ads, and it’s working fine on iOS7.  The version of Spell Gems that I released has the defective version.  It looks like I need to update the app immediately and push it out.

In other words, the vungle ads issue  must be already fixed, but the version of the app you released has the older/dated vungle ad plugin, which must be causing the problem.

Naomi

I compiled it and send it for review on October 10th, They approved it just yesterday, and i realized of this problem today, so, do you recommend me compile it again? maybe use the most recent daily build? thanks!

You know, actually, I need to investigate further.

Released version of Beetle Bounce (built with daily build 1206):

  • Vungle ads work fine on iPad2 with iOS7.0

  • Vungle ads work fine on iPhone5 with iOS7.0.2

Released version of Spell Gems (built with daily build 1206):

  • Vungle ads work fine on iPad2 with iOS7.0

  • Vungle ads doesn’t work on iPhone5 with iOS7.0.2

I went ahead and recompiled Spell Gems (built with daily build 1206):

  • Vungle ads work fine on iPad2 with iOS7.0

  • Vungle ads doesn’t work on iPhone5 with iOS7.0.2

I don’t know what this means at the moment.

Naomi

Edit:  BTW, as far as I am aware, plugins are updated separate from the daily build – unless it has changed somehow.

Hey, @danielnieto89, is your app landscape or portrait?  Beetle Bounce is portrait while Spell Gems is landscape.  I use basically the same code for ads between the two, and only difference I can think of is the orientation between the two.

Also, on which device with what iOS version did your app crash?

Naomi

My app is called Germ Defense Plague Wars, and it is Landscape and it crashed on iphone 5 ios7

I’m not on my mac today only in windows, but we could test if changing the orientation (even thou it would not look pretty) and testing on device we can discard or confirm this issue because of this, if you happen to try it today let me know, if you can’t i’ll try this tomorrow!

I have no issues on portrait mode. So maybe landscape causes the crash?

I’m not experiencing any issues in a portrait-only app on either my iPhone 5 or my iPad 3 (daily build 1227), either in a version built on October 18 or a version built just now.

  • Andrew

I do believe this is an issue with landscape only app on iPhone/iPod with iOS7.  It’s definitely an issue with iOS v.7.0.2 – I am unable to test it on any other version of iOS7.

Naomi

I dunno if this will help, but it might (it’s for things like gamecenter which wants to be vertical)

CoronaUseIOS7LandscapeOnlyWorkaround = true,

Try adding that to your build.settings.   No warranties expressed or implied.

in which part should i add it? inside the plist? or outside? thank you

inside where you have things like the prerendered icon, exits on suspend, etc.

Thank you, Rob.  I actually submitted updates to iTunes last night in which vungle ads won’t show when the app is running on iPhone/iPod with iOS7 (or higher).  It’s a quick temporary fix, but at least it won’t crash the app (and will show chartboost ads instead.)

@danielnieto89, I believe it should go inside the plist.  Let me know if it fixes it for you.

Meanwhile, I alerted vungle about this, and they responded right away, saying they’ll look into this (and fix it) ASAP.  I’m hopeful I can get the vungle ads back in my landscape apps soon.

Naomi

I confirm this line CoronaUseIOS7LandscapeOnlyWorkaround = true, worked like a charm, now im submitting the update to AppStore :slight_smile: thank you!

@Naomi, you should try this, it does fix the issue (at least on my iPhone 4 iOS 7.0.2)

@danielnieto89, thank you for confirming this!

I wonder if this is a temporary workaround or a permanent one.

Naomi

I tested using Corona 2013.1236 on iPhone 4 with iOS 7.0.2 with an app in landscape and it crashes as well.

Using CoronaUseIOS7LandscapeOnlyWorkaround = true fixes the problem. Since it’s a workaround, does anyone know what’s affected by it and the potential side effects in the long run?

I’d like to know the answers to beckslash’s question as well.

Naomi

I tested a new build with CoronaUseIOS7LandscapeOnlyWorkaround set to true on iOS7.0.3 device (iPhone5), and it works fine too.

Naomi