App getting restart on resume-Vungle

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.

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

@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)

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

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. 

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

@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)

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

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.