web-sdk
web-sdk copied to clipboard
DOMException: Failed to read the 'localStorage' property from 'Window': Access is denied for this document.
Portis SDK seems to run into this issue when using Private mode or using Brave browser. Seems like there's an easy workaround by wrapping the localStorage calls with an isStorageAvailable function. If I have time in the near future, will submit a PR.
brave is listed as supported at https://docs.portis.io, please have a look at this issue
Will do, thanks for bringing this to our attention
@JUDOKICK Unfortunately, the fetching from localStorage happens in the code that runs under the Portis domain (the widget), not the SDK, so you will not be able to submit a PR. We'll release a fix soon.
@tomteman any update on that?