View Issue Details
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0020135||Marketplace Assets/Extensions||[All Projects] Extensions||Public||2016-01-27 18:40||2017-03-01 11:33|
|Priority||High||Severity||C - General||Reproducibility||100%|
|Summary||0020135: Extensions: Google Play Services doesn't pause the game when an advert is running|
|Description||If you run an app in Android or Windows mode and for example you show an interstitial advert the os_is_paused is called automatically.|
In iOS if you press the home button the app goes in pause but if you show and advert the app not seem to goes in pause.
|Steps To Reproduce||Open a new project|
Add the Google play Services Extension to your project
Create an object with a step event and count the frames
Show an advert as video or interstitial and you can see the app in background is not paused
When you close the advert the value of the step counter is much more.
I think this may be an issue with the heyzap SDK or extension but I could be wrong. Not saying it's not something GMS should take care of, but the extension author would know better what needs to be addressed.
What I do is run a pause object when the an advert is shown. And then use this "ad_is_hidden" callback to unpause.
I've assigned this on as the Google Play Services extension is one of our extensions so that's on us to fix if the game is not pausing correctly.
However for HeyZap SDK/Extension that would be on the original author to fix as this is something the author has to add to their extension.
We now set os_is_paused when window not visible due to interstitial, etc. EA509+