-
Is there an upgrade path from I stored data in my app via Xamarin in the past, after porting to net6.0-android I'd use maui.essentials. Is there any upgrade path? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
Xamarin and MAUI encrypt the SecureStorage contents differently. But it does seem to be possible to bring in the Xamarin.Essentials package, retrieve the values (SecureStorage.GetAsync), then re-save them with MAUI Essentials. I found this reddit thread with more discussion and code samples: https://www.reddit.com/r/dotnetMAUI/comments/wswyyx/complete_rewrite_of_my_xamarin_app_to_net_maui/ |
Beta Was this translation helpful? Give feedback.
-
Hey there! I have created a library that should help with this scenario. You can find it here (and on NuGet). Additionally you can find guidance for this scenario in the Docs, here. I'd be curious to hear your findings! |
Beta Was this translation helpful? Give feedback.
Xamarin and MAUI encrypt the SecureStorage contents differently. But it does seem to be possible to bring in the Xamarin.Essentials package, retrieve the values (SecureStorage.GetAsync), then re-save them with MAUI Essentials.
I found this reddit thread with more discussion and code samples: https://www.reddit.com/r/dotnetMAUI/comments/wswyyx/complete_rewrite_of_my_xamarin_app_to_net_maui/