Closed hunainm closed 1 year ago
Hi Hunain, I've never seen such an error before.
Two questions:
chrome.storage.sync.get().then(console.log)
in your console? Does it show any error?@sneas Thanks for a prompt response. Here are your ansers
I see the problem now. Manifest v2 storage functions don't return promises https://developer.chrome.com/docs/extensions/mv3/promises/. And I tested this library with Manifest v3 only. I'm going to fix it in couple of days.
Ah Gotcha, That would be a lifesaver. Thanks!
Hey @hunainm, the new version of @vocably/pontis is now available under the v1.0.2. I hope it'll resolve your issue.
After following the documentation and adding the storage in chrome extension, the extension fails to load and throws the following error in console
Uncaught TypeError: Error in invocation of storage.get(optional [string|array|object] keys, function callback): No matching signature. at f (main.js:2:298842) at e.value (main.js:2:301090) at e.configure (main.js:2:1372506) at Module. (main.js:2:1412793)
at i (main.js:2:361)
at main.js:2:2118
at main.js:2:2129