Document

Install

This is library use local storage vn-native-2-plugin --plugin=vn-native-local-cloud --action=install . After import LocalCloud from 'vn-native-local-cloud'

Params Description
action install | remove

setItem(key,value)

Use to set data by key data

Params Description
key any ... (String)
value any ... (String)

getItem(key)

Use to get data by a key

Params Description
key any ... (String)
@return Pormise Value of key(String)

removeItem(key)

Use to remove data by a key

Params Description
key any ... (String)

removeItem(key)

Return all key exists of cloud

Return Description
Array Array keys exists of cloud