Android iOS Shared User Preferences

Stable version 1.0.1 (Compatible with OutSystems 11)
Published on 04 January 2019 by 
 (4 ratings)

Android iOS Shared User Preferences


 You can use the respective actions from below to Save and Retrieve the data of key-value pairs of any Outsystem Data Type.

  • Get Actions 
    • GetBoolean         : Retrieves a Boolean value from the preferences
    • GetInteger           : Retrieves an integer value from the preferences
    • GetLongInteger : Retrieves a Long-Integer value from the preferences
    • GetText                 : Retrieves a text value from the preferences
    • GetAllKeys           : Returns a Text-List of All Keys define in preferences.
  • Put Actions
    • PutBoolean         :  Sets a Boolean value in the preferences
    • PutInteger           :  Sets an integer value in the preferences
    • PutLongInteger :  Sets a  Long-Integer value in the preferences
    • PutText                 :  Sets a text value in the preferences
  • ValidateActions
    • HasKey: Check the Specific Key is available or not in the preferences
    • CheckUserPrefrencesPlugin : Check for Cordova Defined & Plugin-Loaded
  • Clear Actions
    • DeleteKey : Removes a value from the preferences of the specified Key
    • ClearAllPreferences : Removes all key-values from the preferences

Please Note: 

- Updating the application will not impact the data stored in Shared-preferences.

- In case you're storing any confidential data then it must be encrypted.