react-native-pjsip icon indicating copy to clipboard operation
react-native-pjsip copied to clipboard

How to delete an account registered on server when app kill/ force close?

Open Soliy0u opened this issue 6 years ago • 1 comments

How to delete an account registered on Free switch server when app kill/ force close? My application get the account credentials from the backend after login, it return a unique new account, after logout I delete the account using endpoint.deleteAccount(account), it's working for me. But when I don't logout and kill my app, I relaunch it and make delete this account with id 0 but I receive an error "Account with "0" id not found". Please help me, I wanna remove accounts registered when app kill or force close.

Soliy0u avatar Jul 26 '19 02:07 Soliy0u

The same here. Anyone solved this? I want to deregister from server when app quits or goes background.

oojikoo avatar Jan 20 '20 03:01 oojikoo