This plugin provides allows apps to use local storage.
Stable on Android and iOS.
The API reference is here.
chrome.storage.local.set({'key' : 'value'});
chrome.storage.local.get('key', function(obj) {
alert(obj.key);
});
- Both
chrome.storage.local
andchrome.storage.sync
are available, but the latter does not actually sync.
- Renamed plugin to pubilsh to NPM
- Documentation updates.
- Fixed race condition in read/writes (Issue #181)