react-native-pjsip
react-native-pjsip copied to clipboard
How to delete an account registered on server when app kill/ force close?
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.
The same here. Anyone solved this? I want to deregister from server when app quits or goes background.