jamesmontemagno / SettingsPlugin

Read and Write Settings Plugin for Xamarin and Windows
MIT License
324 stars 80 forks source link

Question: Losing persistence between deploys: What's my mistake? #130

Closed malware-dev closed 6 years ago

malware-dev commented 6 years ago

Xamarin Forms, Android device

I was hoping you could help me with this problem. I have followed the instructions as far as I can see, and it's seemingly working as expected until I deploy a new build... then the settings are lost. I've triple checked the xamarin settings, the "Preserve applicationdata cache" setting is enabled.

Our settings class is just a simple wrapper around your framework like some of your own examples in issues here, nothing special.

I don't even have to make any code changes. I just completely shut down the application on the device and restart the app from Visual Studio and the data is gone.

Do you have any idea what I might be doing wrong? I'm getting a bit desperate here because my deadline is looming... 🙂

malware-dev commented 6 years ago

This seems to be unrelated to this project but a problem with deployment to (certain?) physical devices.