Created on 28 December 2018
icon_unfollowing
Login to follow
sharedpreferences-plugin

Shared Preferences Plugin

Stable version 3.0.0 (Compatible with OutSystems 11)
Uploaded on 04 January 2019 by 
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)
Category
Device capabilities, Other device capabilities
Tags
Support options
This asset is not supported by OutSystems. You may use the discussion forums to leave suggestions or obtain best-effort support from the community, including from  who created this asset.
Dependencies
Shared Preferences Plugin has no dependencies.
Application Objects
Shared Preferences Plugin has 0 AOs.
Team
Compatible with
Version 11
Database:
All
Asset consumers
No consumers yet.
Weekly downloads