Skip to content

Flutter plugin for reading and writing simple key-value pairs to NSUserDefaults on iOS and SharedPreferences on Android.

License

Notifications You must be signed in to change notification settings

memspace/user-defaults

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A Flutter plugin to interact with NSUserDefaults on iOS and SharedPreferences on Android.

Checkout also the official shared_preferences plugin from Flutter. Here are a few differences between the two:

  1. Allows selecting specific settings store by name. Can be useful if you have setup an App Group for iOS and have shared NSUserDefaults instance different from standardUserDefaults.
  2. Does not filter settings by any prefix. shared_preferences uses flutter. prefix on all keys.
  3. Does not cache values on the Dart side. Every call to get retrieves fresh value from the native side.

About

Flutter plugin for reading and writing simple key-value pairs to NSUserDefaults on iOS and SharedPreferences on Android.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published