Jump to content

[TOPIC: topicViewTemplate]
[GLOBAL: userSmallPhoto]
Photo

App getting restart on resume-Vungle
Started by altafr Aug 14 2014 03:22 AM

4 replies to this topic
vungle ads
[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

altafr

[GLOBAL: userInfoPane.html]
altafr
  • Contributor

  • 126 posts
  • Corona SDK

When I tap on download button on Vungle ad it take to store, later when I try to open my app, it is getting restart, though I've not done this. According to me when you open browser, itunes etc from an app, the app should go into suspend mode & when coming back on app it should resume from the point where am leaving it, but my app is getting restarted.

 

I've attached a video to demonstrate my issue.



[TOPIC: post.html]
#2

aukStudios

[GLOBAL: userInfoPane.html]
aukStudios
  • Corona Geek

  • 1,003 posts
  • Corona SDK

You may be experiencing the same issue that I describe here (if you are out of your app for more than three minutes while downloading the advertised app): http://forums.coronalabs.com/topic/49881-vungle-plugin-on-ios-crashes-3-minutes-after-suspend-active-assertions-beyond-permitted-time/.  Vungle has pushed a new version that fixes it, but it appears it hasn't been integrated into the Corona build system yet.

 

- Andrew



[TOPIC: post.html]
#3

altafr

[GLOBAL: userInfoPane.html]
altafr
  • Contributor

  • 126 posts
  • Corona SDK

@Andrew Thnx 

 

But the issue is appearing even for instant switching.

 

That means if I navigated out of my app (to itunes) & I immediately comes back to my app though it's getting restarted.

 

(Note:  UIApplicationExitsOnSuspend = false in build.setting)



[TOPIC: post.html]
#4

aukStudios

[GLOBAL: userInfoPane.html]
aukStudios
  • Corona Geek

  • 1,003 posts
  • Corona SDK

Hi there,

 

You should try to isolate it to a minimal project that exhibits the bug, and give steps to reproduce it, so that others in the community can test it out themselves and see if they get the same behavior.  See my post here for an example of what a minimal project looks like: http://forums.coronalabs.com/topic/49881-vungle-plugin-on-ios-crashes-3-minutes-after-suspend-active-assertions-beyond-permitted-time/

 

- Andrew



[TOPIC: post.html]
#5

altafr

[GLOBAL: userInfoPane.html]
altafr
  • Contributor

  • 126 posts
  • Corona SDK

I got the solution, I changed status of my app in Vungle's Portal from, Test mode to Active so it's showing me live ads in which when user taps on download button a pop up appears & user can download from there itself no navigation to other apps happen, which is also not recommended by Apple. 




[topic_controls]
[/topic_controls]