helper
helper

Reputation: 107

Update Xamarin Forms App to .Net Maui App Preference Data gets lost

I have an app created in Xamarin Forms in the store. I recently migrated to Maui. I was using Xamarin.Essentials.Preferences in my Xamarin Forms, and in my Maui I had to change it to Microsoft.Maui.Storage.Preferences. I have biometrics on my app. I store the value to enable or disable in Xamarin.essentials.preferences in Xamarin App. Testing locally using Firebase distribution, when I first install the Xamarin app then update to Maui, the data is lost. I know Microsoft caters for Secure storage when migrating but I'm using preferences. Same package name and signing code. Also I notice that after updating i get requested permissions again, which I thought was weird as I have already accepted in Xamarin forms app

Upvotes: 1

Views: 41

Answers (0)

Related Questions