-
Notifications
You must be signed in to change notification settings - Fork 1k
Open
Description
Having recently upgraded from Electron 8 -> 10, I'm seeing console errors from the redux devtools extension on app startup. They appear to point to the use of the chrome.storage.sync
API which seems to be unavailable in the Electron context.
The errors are:
Unchecked runtime.lastError: "sync" is not available in this instance of Chrome
Error handling response: TypeError: Cannot read property 'filter' of undefined
at chrome-extension://lmhkpmbekcpmknklioeibfkpmmfibljd/js/content.bundle.js:1:21235
I'm using version 2.17.0
of the extension.
The extension does appear to work, so this isn't critical, but it'd be nice to get to the bottom of it, as the Electron docs claim that this extension should be compatible.
Any pointers would be much appreciated.
funwithtriangles, chetbox, drorwolmer, ZainChen, JiaoXin2005 and 6 more
Metadata
Metadata
Assignees
Labels
No labels
Projects
Milestone
Relationships
Development
Select code repository
Activity
chetbox commentedon Nov 16, 2020
I'm seeing the same error in version 2.17.0 with Electron 10.1.5.
ZainChen commentedon Feb 20, 2021
Also has this problem in electron 11.3.0.
JiaoXin2005 commentedon Feb 26, 2021
also appeared in electron 11.3.0 🙁
none100p commentedon May 13, 2021
Also getting this one for 10.4.3
Nantris commentedon Jun 4, 2021
Persists in Electron 11.4.x. Is this still maintained?
Wraps chrome.storage with try/catch
Nantris commentedon Jun 4, 2021
Just submitted #802 to resolve this, but I doubt this package is maintained so it's unlikely we'll see this merged.
Edit: Also, if anyone knows the correct
typeof
forchrome.storage.sync
that we could check against, that would be cleaner than my current solution.