Android and localstorage

I realize this is slightly off topic, but I’ve run into an issue with my Phaser3 game when running on Android. I wanted to add support for persistent high-score, so tried to use window.localStorage. This works perfectly on linux/chrome, but when running on android phone (via itch.io) I run into an exception: “ncaught DOMException: Failed to read the ‘localStorage’ property from ‘Window’: Access is denied for this document”. If useful, I’m running Android 10.

Has anybody else bumped into this, and found a workaround (other than catching the exception and not storing/loading persistent data)?

Thanks!