我最近向 Google Play 商店提交了一个 Android 应用程序,但收到一条消息说我的应用程序已被拒绝。 我不确定问题出在哪里,也找不到确切的解决方案。
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.
其实app的逻辑很简单。 该应用程序只有一个 WebView,它只加载一个带有嵌入式 youtube 视频的 url。
这是 WebView 显示的链接。 http://www.x17online.com/2015/08/benji_madden_cameron_diaz_are_at_lax_photos_083115#kWESwFbZwGicf9PV.99
所以我猜是播放这个youtube视频的时候出了问题,所以尝试了几种方法都没有解决。
请帮帮我!!! 谢谢
最佳答案
我在我的应用程序中遇到过一次同样的问题。由于违反 YouTube 政策问题而被拒绝。在我的应用程序中,我有一个播放嵌入式 YouTube 视频的 HTML 页面。最后我发现视频在后台播放,即使屏幕被锁定。我错过了处理它的 onPause() 方法。这就是我的应用程序被拒绝的原因。所以为了解决这个问题,
- 检查视频是否在屏幕锁定时在后台播放。如果是,请尝试添加 onPause() 方法来停止视频播放。
- 如果以上部分没问题,请检查您是否使用 YouTube API 来集成它。
这两个中的任何一个都应该工作。一切顺利。
关于Google Play 拒绝 Android 应用,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/32730711/