Google Play rejects app for Google TV because “Now Playing” notification card does not function as expected when pressed PAUSE
@marcbaechinger is already working on this.
Since Aug 18, 2023.
- Dominant language
- Java
- Stars
- 3k
- Forks
- 955
- Avg merge
- 12d 14h
- Merged PRs (30d)
- 2
Description
Version
Media3 1.1.1
More version details
version 1.1.0 & 1.1.1
Devices that reproduce the issue
We have problem with Media3 MediaSession, Google always rejects the app because of :
****** repeated rejection from GOOGLE *******
During review, we detected the following eligibility issues and were unable to accept your app for Android TV:
Your app does not display a “Now Playing” notification card. If an app continues to play sound/video after the user has returned to the home screen or switched to another app, the app must provide a “Now Playing” card on the home screen recommendation row so users can return to the app to control playback.
For example, in your app (version code 185) the “Now Playing” notification card does not function as expected, disappearing when pressing pause.
You can refer to the Displaying a Now Playing Card page for additional guidance on this requirement.
****** repeated rejection from GOOGLE *******
We need functionality to keep notification card showing when stream is paused, not stopped.
Also setSessionActivity is not working anymore, it only works when you keep it null. We was trying to find some solution , but no luck.
Devices that do not reproduce the issue
No response
Reproducible in the demo app?
No
Reproduction steps
Play any stream with Media3 and MediaSession implemented on Android TV or Android TV box. When pressed HOME notification is showing fine while stream is playing in background.
When PAUSE is called , notification will completely dissapear.
Cannot OPTIN to Android TV because of that issue.
Expected result
Should show MediaSession notification on Android TV when playback is paused or add option to allow it.
Actual result
MediaSession notification on Android TV automatically dissapear when stream is PAUSED
Media
no media to reproduce,, you can use any media
Bug Report
- You will email the zip file produced by
adb bugreportto android-media-github@google.com after filing this issue.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.