Jump to content

[TOPIC: topicViewTemplate]
[GLOBAL: userSmallPhoto]
Photo

Vungle crashing when tap on Ad on iOS7
Started by danielnieto89 Oct 20 2013 11:59 AM

20 replies to this topic
crash ios7 tap
[TOPIC CONTROLS]
This topic has been archived. This means that you cannot reply to this topic.
[/TOPIC CONTROLS]
[modOptionsDropdown]
[/modOptionsDropdown]
[reputationFilter]
[TOPIC: post.html]
#1

danielnieto89

[GLOBAL: userInfoPane.html]
danielnieto89
  • Enthusiast

  • 39 posts
  • Corona SDK

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!



[TOPIC: post.html]
#2

Naomi

[GLOBAL: userInfoPane.html]
Naomi
  • Corona Geek

  • 2,303 posts
  • Corona SDK

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



[TOPIC: post.html]
#3

Naomi

[GLOBAL: userInfoPane.html]
Naomi
  • Corona Geek

  • 2,303 posts
  • Corona SDK

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



[TOPIC: post.html]
#4

danielnieto89

[GLOBAL: userInfoPane.html]
danielnieto89
  • Enthusiast

  • 39 posts
  • Corona SDK

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!



[TOPIC: post.html]
#5

Naomi

[GLOBAL: userInfoPane.html]
Naomi
  • Corona Geek

  • 2,303 posts
  • Corona SDK

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.



[TOPIC: post.html]
#6

Naomi

[GLOBAL: userInfoPane.html]
Naomi
  • Corona Geek

  • 2,303 posts
  • Corona SDK

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



[TOPIC: post.html]
#7

danielnieto89

[GLOBAL: userInfoPane.html]
danielnieto89
  • Enthusiast

  • 39 posts
  • Corona SDK

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



[TOPIC: post.html]
#8

danielnieto89

[GLOBAL: userInfoPane.html]
danielnieto89
  • Enthusiast

  • 39 posts
  • Corona SDK

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!



[TOPIC: post.html]
#9

dingo

[GLOBAL: userInfoPane.html]
dingo
  • Contributor

  • 700 posts
  • Corona SDK

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



[TOPIC: post.html]
#10

aukStudios

[GLOBAL: userInfoPane.html]
aukStudios
  • Corona Geek

  • 1,003 posts
  • Corona SDK

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



[TOPIC: post.html]
#11

Naomi

[GLOBAL: userInfoPane.html]
Naomi
  • Corona Geek

  • 2,303 posts
  • Corona SDK

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



[TOPIC: post.html]
#12

Rob Miracle

[GLOBAL: userInfoPane.html]
Rob Miracle
  • Moderator

  • 25,922 posts
  • Enterprise

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.



[TOPIC: post.html]
#13

danielnieto89

[GLOBAL: userInfoPane.html]
danielnieto89
  • Enthusiast

  • 39 posts
  • Corona SDK

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



[TOPIC: post.html]
#14

Rob Miracle

[GLOBAL: userInfoPane.html]
Rob Miracle
  • Moderator

  • 25,922 posts
  • Enterprise

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



[TOPIC: post.html]
#15

Naomi

[GLOBAL: userInfoPane.html]
Naomi
  • Corona Geek

  • 2,303 posts
  • Corona SDK

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



[TOPIC: post.html]
#16

danielnieto89

[GLOBAL: userInfoPane.html]
danielnieto89
  • Enthusiast

  • 39 posts
  • Corona SDK

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

 

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



[TOPIC: post.html]
#17

Naomi

[GLOBAL: userInfoPane.html]
Naomi
  • Corona Geek

  • 2,303 posts
  • Corona SDK

@danielnieto89, thank you for confirming this!

 

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

 

Naomi



[TOPIC: post.html]
#18

beckslash

[GLOBAL: userInfoPane.html]
beckslash
  • Contributor

  • 113 posts
  • Corona SDK

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?



[TOPIC: post.html]
#19

Naomi

[GLOBAL: userInfoPane.html]
Naomi
  • Corona Geek

  • 2,303 posts
  • Corona SDK

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

 

Naomi



[TOPIC: post.html]
#20

Naomi

[GLOBAL: userInfoPane.html]
Naomi
  • Corona Geek

  • 2,303 posts
  • Corona SDK

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

 

Naomi



[TOPIC: post.html]
#21

greg886

[GLOBAL: userInfoPane.html]
greg886
  • Contributor

  • 912 posts
  • Corona SDK

Hi guys - Is the "CoronaUseIOS7LandscapeOnlyWorkaround = true" work around still required?   Was there a fix for this in either Corona or the Vungle Plugin?  (just looking into Vungle now)




[topic_controls]
[/topic_controls]