[
https://issues.apache.org/jira/browse/CB-11935?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15532702#comment-15532702
]
ASF GitHub Bot commented on CB-11935:
-------------------------------------
GitHub user spirann opened a pull request:
https://github.com/apache/cordova-android/pull/337
CB-11935 Call onPause & onResume on WebView
Does a best-effort attempt to pause any processing that can be paused
safely, such as animations and geolocation.
Fix the potential rejection from Play Store
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/spirann/cordova-android master
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/cordova-android/pull/337.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #337
----
commit 9357737f3c6f7396af947c5c4529cba7022882b0
Author: Simon Pireyn <[email protected]>
Date: 2016-09-29T12:47:19Z
CB-11935 Does a best-effort attempt to pause any processing that can be
paused safely, such as animations and geolocation.
----
> 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
>
> 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]