JcPlayer icon indicating copy to clipboard operation
JcPlayer copied to clipboard

Killing notification on App swipe

Open rohankandwal opened this issue 5 years ago • 4 comments

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.

rohankandwal avatar Feb 15 '19 10:02 rohankandwal

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 avatar Feb 15 '19 17:02 jeancsanchez

@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.

rohankandwal avatar Feb 16 '19 06:02 rohankandwal

that problem error on emulator if real device is work fine @rohankandwal

SunryTeang avatar Mar 28 '19 03:03 SunryTeang

@SunryTeang I have same problem in multiple real devices.

rohankandwal avatar Jul 12 '19 07:07 rohankandwal