Posts

Showing posts with the label keychain

Forcing remove Keychain Item outside App iOS

Forcing remove Keychain Item outside App iOS I have a big problem. I developed an app with Xamarin.Forms and I use Xamarin.Auth to store credentials on device to mantain login. Xamarin.Auth uses Keychain to store credentials on iOS. My problem is: for some reason that I still do not understand, an app for a user crashes immediately after login and after credentials are stored in keychain. So user cannot make logout because he cannot even open the app without it crashes. But if he cannot make logout, he cannot delete credentials from keychain and he cannot uses app anymore unless I understand the problem and solve it by code. Obviously uninstalling the application is useless because keychain keeps everything and resetting factory conditions of the phone is absurd because you would lose all the data and if you do not want to lose them you should make a backup that, I presume, even saves the content of keychain. So how can I do? Can I somehow force the deletion of keychain items? ...