LocalStorage not working on Safari

Hey, I have two apps, in one app I set localstorage, in the other I get the value.
This flow works perfectly on Chrome, but doesn't work on Safari. On Safari, the 2nd app can't find the value, so I suspect the localstorage.setValue in the 1st app doesn't work on Safari.

I do not have cookies blocked in either browser.

I'm wondering what's the underlying mechanism of localstorage? How can we make it work for Safari?

It's using localStorage under the hood, under the customAppData key. You should be able to use your browser's localStorage debug tools to verify that localStorage is getting updated correctly.