Looks like since I upgraded Xamarin.Auth my application is now crashing at startup with a
Java.IO.IOException "KeyStore integrity check failed.".
I found that the method signature to fetch an existing AccountStore changed a bit and one is now supposed to provide a custom password:
var password = "1234567890ABCDEF..."; var account = AccountStore.Create(LocalContext, password).FindAccountsForService("My Application").FirstOrDefault();
before it was:
var account = AccountStore.Create(LocalContext).FindAccountsForService("My Application").FirstOrDefault();
However, I get the aforementioned exception and it crashes my app at startup (since I try to read some settings).
I found this code to migrate old content to a new AccountStore: https://github.com/xamarin/Xamarin.Auth/pull/56/commits/f0aad93c37cb5bbcdeb56e59ecf7f9cb9ffbf48c
However it does not help.