Create and access settings from shared code across all of your apps!
Get started by reading through the Settings Plugin documentation.
- CI NuGet Feed: https://ci.appveyor.com/nuget/settingsplugin
Platform Support
Platform | Version |
---|---|
Xamarin.iOS | iOS 7+ |
Xamarin.Android | API 15+ |
Windows 10 UWP | 10+ |
Xamarin.Mac | All |
Xamarin.tvOS | All |
Xamarin.watchOS | All |
.NET 4.5 | All |
I get this question a lot, so here it is from a recent issue opened up. This plugin saves specific properties directly to each platforms native settings APIs (NSUserDefaults, SharedPreferences, etc). This ensures the fastest, most secure, and reliable creation and editing settings per application. Additionally, it works with any Xamarin application, not just Xamarin.Forms.
App.Current.Properties actually serializes and deserializes items to disk as you can see in the implementation.
To me that isn't as reliable as saving direct to the native platforms settings.
The MIT License (MIT) see License file