Notification dismiss callback question
@marcbaechinger is already working on this.
Since Sep 17, 2024.
- Dominant language
- Java
- Stars
- 3k
- Forks
- 955
- Avg merge
- 12d 14h
- Merged PRs (30d)
- 2
Description
Hello, I have an issue with notifications in Media3 (v1.4.1). I'm using it to play audio media items using HLS with the built-in notification system of Media3 to show notifications with custom actions when items are playing.
With this built-in notification feature, I would like to get a callback to know when the user is dismissing the notification manually.
I use the PlayerNotificationManager class attached to my player but for some reason, the onNotificationCancelled function is not called when I manually dismiss the player notification. Do you know what might be missing?
Device: Pixel 8, Android 14
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.