Appodeal 2.4.1 : Game doesn't pause when an ad is shown anymore

Hi! Before with appodeal the game paused automatically when an ad was being shown. It was great!

When we tried the new SDK today this seems to have changed and the game keeps going on underneath the ad.

Is this intended with the new SDK or is it a bug? 

Tried it with corona daily build 3295

Thanks!

Android or iOS or both?

iOS - haven’t tested on Android yet 

We can solve this in our games now by looking at the event phases in the ad listener in the SDK and only moving on if its done. But it was very convenient in the last versions of the plugin not having to worry about the game doing stuff while the ad was being watched.

Honestly I don’t know how this worked in the past. We don’t have a global pause everything option. On Android, things are run in Intents and if I understand correctly, the Corona app gets suspended while the ad intent runs and then your app gets foregrounded when done. But I’ve never seen that type of behavior with iOS.  Perhaps Appodeal was somehow suspending the iOS app and foregrounding. I’ll have to ask and see about this behavior.

Rob

Well, the Corona plugin behavior wasn’t changed that much. I’ve asked a fellow Appodeal engineer about it, but even if there’s been some logic changes lately, I’m not sure that they will change it back.

Actually, I am sure that having a control over your game flow is crucial  and you shouldn’t rely on Appodeal plugin flow in the first place.

Anyway, I’ll try to get some info about it and share it here.

Thanks for answers!

Yes we can handle it this way as well, and i agree that it’s important to have contol over the flow. 

It’s just that we noticed the change from the last version of the plugin as our game now automatically progressed in the back  when the ad was running, compared to before when it would wait until after with triggering timer events etc. 

I’d like to know about these changes too, now. We’ll see what Appodeal has to say about it.

Hi there,

I can’t get an official confirmation for that logic change from Appodeal. Not sure if this was an intended behavior, anyway.

Android or iOS or both?

iOS - haven’t tested on Android yet 

We can solve this in our games now by looking at the event phases in the ad listener in the SDK and only moving on if its done. But it was very convenient in the last versions of the plugin not having to worry about the game doing stuff while the ad was being watched.

Honestly I don’t know how this worked in the past. We don’t have a global pause everything option. On Android, things are run in Intents and if I understand correctly, the Corona app gets suspended while the ad intent runs and then your app gets foregrounded when done. But I’ve never seen that type of behavior with iOS.  Perhaps Appodeal was somehow suspending the iOS app and foregrounding. I’ll have to ask and see about this behavior.

Rob

Well, the Corona plugin behavior wasn’t changed that much. I’ve asked a fellow Appodeal engineer about it, but even if there’s been some logic changes lately, I’m not sure that they will change it back.

Actually, I am sure that having a control over your game flow is crucial  and you shouldn’t rely on Appodeal plugin flow in the first place.

Anyway, I’ll try to get some info about it and share it here.

Thanks for answers!

Yes we can handle it this way as well, and i agree that it’s important to have contol over the flow. 

It’s just that we noticed the change from the last version of the plugin as our game now automatically progressed in the back  when the ad was running, compared to before when it would wait until after with triggering timer events etc. 

I’d like to know about these changes too, now. We’ll see what Appodeal has to say about it.

Hi there,

I can’t get an official confirmation for that logic change from Appodeal. Not sure if this was an intended behavior, anyway.