[
https://issues.apache.org/jira/browse/CB-11935?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15543763#comment-15543763
]
Simon Pireyn commented on CB-11935:
-----------------------------------
Me neither, so have done a lot of tests and it's not only on Android N, I've
the same behavior (pause when in background, still playing with screen off) on
M and Lollipop (didn't try lower). So I've asked and it's someone from the
Android Play Store verification team who told me that I should call onPause on
the WebView when the screen is turned off to pause the videos (it should be the
normal behavior). But I didn't want to be too invasive with my patch to avoid
to mess with the apps who needs to run in background. but maybe pausing the
WebView when it's not seen is not a problem if the JS can keep running. Or
maybe the keepRunning parameter should be at false by default.
> Violation of the Prohibited Actions provision of the Content Policy.
> --------------------------------------------------------------------
>
> Key: CB-11935
> URL: https://issues.apache.org/jira/browse/CB-11935
> Project: Apache Cordova
> Issue Type: Bug
> Components: Android
> Affects Versions: Master
> Reporter: Simon Pireyn
> Assignee: Joe Bowser
> Priority: Critical
>
> When a page contains a Youtube video, it should be pause when the screen is
> turned off.
> Without this condition the app can be rejected for violation by the Play
> Store:
> {quote}
> REASON FOR REJECTION:Violation of the Prohibited Actions provision of the
> Content Policy.
> After a regular review, we have determined that your app enables background
> playing of YouTube videos, which is a violation of the YouTube API Terms of
> Service:
> "Your API Client will not, and You will not encourage or create functionality
> for Your users or other third parties to: (8) separate, isolate, or modify
> the audio or video components of any YouTube audiovisual content made
> available through the YouTube API;"
> All submission rejections are tracked. Repeated rejections due to policy
> violations will result in app suspension, at which point this app will count
> as a strike against the good standing of your developer account and no longer
> be available on Google Play.
> {quote}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]