-
-
Notifications
You must be signed in to change notification settings - Fork 504
Closed
Description
Describe the bug
The notification stays even after pausing playback and completely closing the app.
Minimal reproduction project
The example project has the bug.
To Reproduce
Steps to reproduce the behavior:
- Run the example project and press AudioPlayer Button.
- Now from the notification bar pause the audio playback.
- Do not dismiss the notification.
- Close the app instead i.e clear it from the recent list.
- You should now see that the notification still persists even after audio is paused and app is closed.
- You will also notice that there is no media control buttons and also no mediaItem data in the notification.
- The notification cannot be dismissed by swiping, instead you have to go to app info and force stop the app.
Expected behavior
Pause the audio playback from notification.
Closing the app then should dismiss the ongoing notification.
Runtime Environment (please complete the following information):
- Device: [10.or G]
- Android version: [8.1.0]
Flutter SDK version
Doctor summary (to see all details, run flutter doctor -v):
[√] Flutter (Channel stable, v1.5.4-hotfix.2, on Microsoft Windows [Version 10.0.18362.175], locale en-IN)
[√] Android toolchain - develop for Android devices (Android SDK version 28.0.3)
[√] Android Studio (version 3.4)
[√] VS Code (version 1.35.1)
[√] Connected device (1 available)
• No issues found!
Metadata
Metadata
Assignees
Labels
No labels