I'm using Preferences to save service IP but when i update app this values reset.
Preferences.Set("myServiceIP", serviceIP);
I take a new apk from visual studio and install to my phone then these preferences reset. I need to save at least this service IP. I want to learn this when i install my app from Google Play and update from Google Play these preferences reset or keep at this situation ? If update won't reset my preferences from my device its ok but if this reset also, this going to be problem. Can someone give me information about this ?
As a summary, I will post an answer.
From document Xamarin.Essentials: Preferences, we could find that:
So, if you uninstall your app, this value of preferences will delete. If you didn't uninstall your app and update your app directly, the previous
Preferencesdata will be kept. Whether the stored value changes depends on whether you reset the value of variableserviceIPthat you want to store toPreferences.