inMobi interstitial triggers resume

I’m trying inMobi interstitial ads (android for now) and when an ad is displayed and dismissed, the app does a resume. Android 4 and 6.

Is this a bug? Intentional?

Can it be avoided?

All of our monetization plugins on Android have that behavior and it cannot be avoided.

When an ad is displayed, the Corona activity is suspended and later resumed when the ad is closed.

So can you confirm that this doesn’t happen on IOS?

Also, if I set a variable just before the ad display, could I then read that in the applicationResume function? That way I can control where the user resumes in the app.

The suspend/resume behavior is an Android-only thing.

…and yes. Any variables set before showing ads will be available to you in your resume function.

All of our monetization plugins on Android have that behavior and it cannot be avoided.

When an ad is displayed, the Corona activity is suspended and later resumed when the ad is closed.

So can you confirm that this doesn’t happen on IOS?

Also, if I set a variable just before the ad display, could I then read that in the applicationResume function? That way I can control where the user resumes in the app.

The suspend/resume behavior is an Android-only thing.

…and yes. Any variables set before showing ads will be available to you in your resume function.