Bug report best practices: Submitting Issues
Not sure if is possible but whenever the app iOS is unistalled I would like the securestorage to be cleared ,so that the user is asked to register with the app again.
Is it possible?
is there anything that I can do so that when the app is unistalled the securestorage is cleared?
thanks
Since you can't run code when an app is uninstalled this is just a general iOS/Android thing and not with Xamarin.Essentials at all. Here is a good thread highlighting: https://stackoverflow.com/questions/4747404/delete-keychain-items-when-an-app-is-uninstalled
You could leverage "Preferences" itself to purge out the Keychain.
Many thanks for link.that link worked
I'd imagine you would also be able to use Xamarin Essentials for what they described in that StackOverflow thread:
protected async override void OnStart()
{
if (VersionTracking.IsFirstLaunchEver)
{
SecureStorage.Remove("token");
}
// proceed with OnStart() logic
}
Most helpful comment
I'd imagine you would also be able to use Xamarin Essentials for what they described in that StackOverflow thread:
App.xaml.cs