JcPlayer
JcPlayer copied to clipboard
Killing notification on App swipe
Duplicate of
https://github.com/jeancsanchez/JcPlayer/issues/22
But the problem there is, onDestroy doesn't get called when we clear the app from recent task. This is causing crashes when we click on the notification again. onDestroy tricks work well on exiting the app, but not swiping and killing it from tasks.
That's a problem that I can't solve yet. I didn't find a solution for removing the notifications when the app is popped from the tasks list.
@jeancsanchez I have actually managed to resolve it on your Sample code, but it is not working on my code when I add library as gradle module. Once I am able to fix it, will let you know.
that problem error on emulator if real device is work fine @rohankandwal
@SunryTeang I have same problem in multiple real devices.