sharedpreferences-plugin
Mobile icon

Shared Preferences Plugin

Stable version 3.0.0 (Compatible with OutSystems 11)
Uploaded on 04 January 2019 by 
5.0
 (7 ratings)
sharedpreferences-plugin

Shared Preferences Plugin

Details
This plugin wraps the cordova-plugin-shared-preferences. This plugin uses SharedPreferences on Android and NSUserDefaults on iOS.
Read more

This plugin provides the ability to save and retrieve persistent key-value pairs. This data will persist across user sessions.

This plugin wraps the cordova-plugin-shared-preferences.

https://github.com/adriano-di-giovanni/cordova-plugin-shared-preferences

Supports 

* Platforms 

  • iOS
  • Android 

* More than one set of preferences. All the methods have an optional parameter PreferenceName. If empty will refer to Default preference set. 

GET

  • GetText
  • GetBoolean
  • GetInteger
  • GetLongInteger
  • GetKeys


SET

  • PutText
  • PutBoolean
  • PutInteger
  • PutLongInteger


CHECK

  • CheckSharedPreferencesPlugin
  • HasKey


DELETE

  • DeleteKey
  • Clear
Release notes (3.0.0)

Added a new action GetKeys(preferenceName) to retrieve the keys for a specific preference set. 

PreferenceName  is an option parameter, if empty retrieves the keys from the default preference set.


Reviews (0)