Copy link to clipboard
Copied
Hi everyone,
I have one app designed for ios & android with same code base, but the app behavior is different on ios & android. when I click the home button on ios, the app auto stop runinng as expected, but on android platform, the app still running with sound. Do I need manually stop all sound & timer when app become deactive? Is there any shortcut solution for this issue? Thanks
Copy link to clipboard
Copied
Yes, on Android you need to manually stop/pause sound and other activity on deactivate. Unfortunately there's no shortcut to pause everything.
Copy link to clipboard
Copied
Thanks, Lars Laborious. Is there any official documents about this issue from adobe?
Copy link to clipboard
Copied
It’s hard to find official documents from Adobe on Android development, but you need to listen for the deactivate/activate events fired by the NativeApplication class.