Detect app kill event when app is killed by swiping it from the recent app list


#1

Is there way to detect when app was killed by swiping it from the recent app list?

I’m writing an application which uses SIP.js (VoIP).

My problem is - If during active call I want to kill app by swiping it from the recent apps, the call on second device still in progress (which is in the call). My idea is to detect when app was killed and reject the call, but I can’t detect this event as for Android as for IOS