-
-
Notifications
You must be signed in to change notification settings - Fork 27
music not stop when removing app from background #6
Comments
Same problem here. Media Notification Pause Button doesn't work when app is closed. Should be able to pass some arguments on callback of MediaNotification.setListener('pause', callback); |
@ranjannisha |
Any updates here ? |
Hello there @aliyazdi75, can you provide an update here please? |
I have found a temporary solution for this situation. Use AppLifecycleState.paused event and set MediaNotification.hideNotification() in that event and it is not perfect because when user opens other app or exit to home screen, the notification is hidden but music continues to play.
|
@aliyazdi75 Do you have an idea of when we will have a fix for this issue? |
@fracon yes, we have to use isolate and I'm working on it. |
Use this |
i m using this library for media notification and audioplayers library for song play when i play song then i have set notification using setNotification method..music play in background perfectly bt when i remove app from home button directly(from recent apps) without back press,music play in background continuosly ..without using this library music stop when i am removing it from background but with this library it not working.
The text was updated successfully, but these errors were encountered: