This plugin provides allows apps to use local storage.
npm install cordova-plugin-chrome-apps-storageThis 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 and chrome.storage.sync are available, but the latter does not actually sync.