Closed OjasKarmarkar closed 4 years ago
No it doesn't need.
When MediaNotification.show
is invoked, it makes a android service and in app killing, MediaNotification
kills service and it takes 5 or less seconds for stopping your music and this is happened normally.
If your music still running after 5 seconds please tell me more about this situation.
I'm also seeing that it just keeps playing. I keep getting a repeat of this in the logs
D/FlutterNativeView(21008): FlutterView.send called on a detached view, channel=xyz.luan/audioplayers
Yes I too get the same log repeatedly!!
I see.
It's not notification problem, it's audioplayers
problem that should be fixed.
if you close app, notification will be closed. isn't it?
Yep Notification does get closed..But the problem occurs when this plugin is used.. so m not sure whether it's related to this plugin or the audio player plugin! Mind having a look at my music player source code?
On Tue, 19 Nov, 2019, 8:43 pm Ali Yazdi, notifications@github.com wrote:
I see. It's not notification problem, it's audioplayers problem that should be fixed. if you close app, notification will be closed. isn't it?
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/aliyazdi75/flutter_media_notification/issues/3?email_source=notifications&email_token=AIS6HZA3NVXDOTQZQZA3VKTQUP7AJA5CNFSM4JKF5OH2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEEOQ32A#issuecomment-555552232, or unsubscribe https://github.com/notifications/unsubscribe-auth/AIS6HZHWXB2UYMNA72RBCUTQUP7AJANCNFSM4JKF5OHQ .
No, you right. it happens.
But needs some changes on audioplayers
plugin to make this work.
Maybe I will change on 'audioplayers' plugin github.
If you mind close this issue.
Done I'll close it right away.. Can u Also make the changes in flute-music-player? A humble request!
On Tue, 19 Nov, 2019, 9:18 pm Ali Yazdi, notifications@github.com wrote:
No, you right. it happens. But needs some changes on audioplayers plugin to make this work. Maybe I will change on 'audioplayers' plugin github. If you mind close this issue.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/aliyazdi75/flutter_media_notification/issues/3?email_source=notifications&email_token=AIS6HZFYY72CDL6ZQIP6UITQUQDFXA5CNFSM4JKF5OH2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEEOU5YQ#issuecomment-555568866, or unsubscribe https://github.com/notifications/unsubscribe-auth/AIS6HZHYETVCBDPZRVI4NXTQUQDFXANCNFSM4JKF5OHQ .
Sure, as soon as possible.
Used your MediaNotification package.. everything works like a charm! But due to that even after the app is killed the music is still running.. Do i have to use Hidenotification() compulsorily?