Hi!
I have a foreground service, but when i close the app thru swiping the app in recent app, just in that case i want to stop the foreground service
There is any way to detect when the user kill the app, anything like onTaskRemoved or something that trigger when the user kill the app from the recent app?
I have a foreground service, but when i close the app thru swiping the app in recent app, just in that case i want to stop the foreground service
There is any way to detect when the user kill the app, anything like onTaskRemoved or something that trigger when the user kill the app from the recent app?