When I try saving anything with localStorage.setItem("");
in IOS Safari, I get this error -
SecurityError (DOM Exception 18): The operation is insecure.
Here is a screenshot of the error...
Any ideas how to fix this? Thanks.
Found the answer. Block Cookies was turned on in the users Safari Settings.
I had this problem on the desktop version of Safari. I enabled "Disable Local File Restrictions" This is how you can find it:
Your cookie settings are also not allowed to be on "Always block". Otherwise you also get this error!
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With