1.3.2 • Published 11 months ago

@nativescript-community/preferences v1.3.2

Weekly downloads
6
License
Apache-2.0
Repository
-
Last release
11 months ago

Twitter Follow

@nativescript-community/preferences

This plugin allows native preference saving\loading on iOS and Android

iOS Prerequisites

Android Prerequisites

Installation

Describe your plugin installation steps. Ideally it would be something like:

tns plugin add @nativescript-community/preferences

Usage

    var prefs = new Preferences();

    //Get existing value
    prefs.getValue("name_preference");

    //Set value
    prefs.setValue("name_preference", "some new text");

API

PropertyDefaultDescription
openSettings(): any;Opens the native settings panes
getValue(key: string): any;Gets the value for the preference
setValue(key: string, value: any): void;Sets the passed value to the preference

License

Apache License Version 2.0, January 2004

1.3.2

11 months ago

1.3.1

11 months ago

1.3.0

4 years ago

1.2.6

5 years ago

1.2.5

5 years ago

1.2.4

5 years ago

1.2.3

5 years ago

1.2.2

5 years ago

1.2.1

5 years ago