We have just migrated our Xamarin Forms app to MAUI and we are going through some testing to make sure the upgrade process will be hassle free for our users once we release the new MAUI build in stores.
Our Xamarin Forms app maintains some values in SecureStorage (e.g. SetAsync and GetAsync). Now since we've migrated to MAUI, our users will be coming from the Xamarin Forms app and upgrading to the MAUI app. And as we are testing this process, we have noticed that GetAsync always comes back null in our MAUI app when trying to retrieve the value that the Xamarin Forms app Set. The Xamarin Forms and MAUI app have the same App Id, so we assume there shouldn't be any issues on this.
What are we missing?
Additional Info: In iOS, this worked fine when deploying the Xamarin Forms app to our test device, then deploying the MAUI app to overwrite the app. However, this didn't work in our TestFlight build, so we ended up using NSUserDefaults.StandardUserDefaults.SetString and NSUserDefaults.StandardUserDefaults.StringForKey for iOS which works. However we want to get the SecureStorage working for Android, and if possible for iOS if we are missing something.