node package manager
Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org ยป

cordova-plugin-chrome-apps-storage

chrome.storage Plugin

This plugin provides allows apps to use local storage.

Status

Stable on Android and iOS.

Reference

The API reference is here.

Example Usage

chrome.storage.local.set({'key' : 'value'});
chrome.storage.local.get('key', function(obj) {
  alert(obj.key);
});

Notes

  • Both chrome.storage.local and chrome.storage.sync are available, but the latter does not actually sync.

Release Notes

1.0.4 (April 30, 2015)

  • Renamed plugin to pubilsh to NPM

1.0.3 (October 21, 2014)

  • Documentation updates.

1.0.2 (September 12, 2014)

  • Fixed race condition in read/writes (Issue #181)