App enables background playing of videos, cordova issues, google play rejecting apps

前端 未结 5 763
孤城傲影
孤城傲影 2021-01-19 02:12

I have created a few android apps using Cordova, These are having videos in it. I am trying to upload the Apps on Google play store but every-time they are rejecting all app

5条回答
  •  春和景丽
    2021-01-19 02:58

    Google just told me that the problem is when you hit the power button when playing your video. The screen will turn off but you also must stop your video playing. The mediaplayer handles Powerbutton off differently to changing to a different app (where it turnes off automatically). Since you are still having a valid screen (although dark), it keeps playing. That behavior is wanted when you for example have a mp3 player and you want to continue listening to your music whlie the screen is off. But Youtube doesn't like that with their videos.

提交回复
热议问题