Skip to content
This repository has been archived by the owner on May 18, 2021. It is now read-only.

Latest commit

 

History

History
33 lines (20 loc) · 697 Bytes

File metadata and controls

33 lines (20 loc) · 697 Bytes

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)