Reputation: 1
I need to make an api call when the app is being killed but lifecycle callbacks are not called when the user just swipes up the app from recent tasks.
I tried to check onPause, onStop, onDestroyed callbacks but none of them called when I killed the app by swiping it.
Do we have a way to detect the exact moment when the app is killed?
Upvotes: 0
Views: 139