-
-
Notifications
You must be signed in to change notification settings - Fork 481
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Notification stays even after stopping for a brief time #460
Comments
It'd be interesting to do some profiling to see whether the main thread is being blocked when the FlutterEngine is being shut down. Although if that is where it's happening, then it is possible this issue will go away after #415 is resolved. |
This is the log im getting on Stop from notification |
@ashishfeels I'm not sure if that is the cause, although there is a different issue open for that error message. |
@ryanheise cool , i didn't knew , i was using @stonega podcast app but i saw that this issue do not happen there, he also have no idea how. |
Is expected to have a notification even after a "STOP" call? Right now, when I stop, it triggers a "notification closed" event, but the notification is still there. Seems that it just loose its foreground property. |
The notification should disappear unless you're using some versions of Android 11 - if the latter, search past issues for Android 11 notifications to learn more. |
this happened to me long back need to check again as im moving my whole app to flutter will eventually test this again. last time it was a POC. |
same happens on iOS, even if I dispose the player |
@nzackoya can you open a new issue for the iOS bug, since this one is an Android issue? |
Which API doesn't behave as documented, and how does it misbehave?
Notification does not get cleared as soon as i tap stop on the notification. I have now successfully able to integrate all the three
packages. only issue im facing is when i tap on the stop icon on the notification the audio stops but notification stays there for a brief period of time and then disappear. same happens when i swipe it it comes back and go. what i saw is when i stop it the player goes into buffering state again. Just wanted to know is it normal behaviour.
Minimal reproduction project
Provide a link here using one of two options:
The Example
To Reproduce (i.e. user steps, not code)
Steps to reproduce the behavior:
Error messages
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
https://drive.google.com/file/d/1-0d7Em5KyedQjU2iHCet3IsEDYVC85o4/view?usp=drivesdk
Here is a screen record from the example app.
Runtime Environment (please complete the following information if relevant):
Flutter SDK version
Additional context
NA
The text was updated successfully, but these errors were encountered: