Closed vikasprogrammer closed 9 years ago
I am using the following code :
chrome.storage.sync.get('Shops', function(retVal) { console.log(retVal); });
But I get this error:
gopher://xxx/_generated_background_page.html
Rest of the app (which does not call chrome.storage.sync works perfectly fine). I am using AngularJS.
chrome.storage.sync
chrome.storage.sync doesn't work. chrome.storage.local should work, and for syncing with drive you should use drive's JS API directly.
I am using the following code :
But I get this error:
gopher://xxx/_generated_background_page.html
Rest of the app (which does not call
chrome.storage.sync
works perfectly fine). I am using AngularJS.