Rahmi Cemre
Rahmi Cemre

Reputation: 1

How to detect the exact moment when the app is killed?

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

Answers (0)

Related Questions