I have tried every combination of the lines below in popup.tsx.
const secureStorage = new SecureStorage({ copiedKeyList: ["shield-modulation"], area: "local" })
secureStorage.setPassword(MY_PASSWORD)
const [PROFILE_LIBRARY] = useStorage({ key: REMOTE_COOKIES_COLLECTION, instance: secureStorage })
background.ts:
const secureStorage = new SecureStorage({ copiedKeyList: ["shield-modulation"], area: "local" })
secureStorage.setPassword(MY_PASSWORD)
secureStorage.set(...)
How to get the same storage data in background.ts and popup.tsx with SecureStorage?
It works with regular Storage. Documentation on SecureStorage is missing.
I have tried every combination of the lines below in popup.tsx.
background.ts:
How to get the same storage data in background.ts and popup.tsx with SecureStorage?
It works with regular Storage. Documentation on SecureStorage is missing.