Jump to content

[TOPIC: topicViewTemplate]
[GLOBAL: userSmallPhoto]
Photo

Appodeal 2.4.1 : Game doesn't pause when an ad is shown anymore
Started by Chribbe May 23 2018 06:21 AM

8 replies to this topic
appodeal
[TOPIC CONTROLS]
[/TOPIC CONTROLS]
[modOptionsDropdown]
[/modOptionsDropdown]
[reputationFilter]
[TOPIC: post.html]
#1

Chribbe

[GLOBAL: userInfoPane.html]
Chribbe
  • Enthusiast

  • 71 posts
  • Corona SDK

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!

 

 



[TOPIC: post.html]
#2

Rob Miracle

[GLOBAL: userInfoPane.html]
Rob Miracle
  • Moderator

  • 23,955 posts
  • Corona Staff

Android or iOS or both?



[TOPIC: post.html]
#3

Chribbe

[GLOBAL: userInfoPane.html]
Chribbe
  • Enthusiast

  • 71 posts
  • Corona SDK

iOS - haven't tested on Android yet 



[TOPIC: post.html]
#4

Chribbe

[GLOBAL: userInfoPane.html]
Chribbe
  • Enthusiast

  • 71 posts
  • Corona SDK

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.



[TOPIC: post.html]
#5

Rob Miracle

[GLOBAL: userInfoPane.html]
Rob Miracle
  • Moderator

  • 23,955 posts
  • Corona Staff

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



[TOPIC: post.html]
#6

karpovpw

[GLOBAL: userInfoPane.html]
karpovpw
  • Contributor

  • 215 posts
  • Corona Staff

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.



[TOPIC: post.html]
#7

Chribbe

[GLOBAL: userInfoPane.html]
Chribbe
  • Enthusiast

  • 71 posts
  • Corona SDK

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. 



[TOPIC: post.html]
#8

karpovpw

[GLOBAL: userInfoPane.html]
karpovpw
  • Contributor

  • 215 posts
  • Corona Staff

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



[TOPIC: post.html]
#9

karpovpw

[GLOBAL: userInfoPane.html]
karpovpw
  • Contributor

  • 215 posts
  • Corona Staff

Hi there,

 

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




[topic_controls]
[/topic_controls]

Also tagged with one or more of these keywords: appodeal