I tried to implement the solution to the previous question here:chrome.storage set\get clarification
Does this answer still work? Because I used the example given (and have tried the others knocking about, but none seem to work for me.
The code in question is:
chrome.storage.sync.set({'value': 12}, function() {
chrome.storage.sync.get("value", function(data) {
console.log("data", data);
});
});
and I have the permissions in the Manifest, but the result is:
data Object {}
Thanks!