Webview component violent google play policy

I embed a Youtube video in the app. the video keeps playing after I close the screen. this is against the policy of google play store.

Expected Behaviour

The video should stop when the screen is off

Actual Behaviour

The youtube video keeps playing while the screen is off

You can try something like this to prevent webviewer from running when the screen is off


This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.