Search code examples
javascriptiosreactjsweb-applicationsprogressive-web-apps

How to check if ios safari/chrome is in lockdown mode for a ReactJS Webapp


As per the title, how would I check the safari/chrome browser used by an iphone/ios user is in lock down mode?

I've got a web app which works fine, but recently when testing on ios 17.2 indexedDB doesn't work, I cannot add files, it just crashes with no error message. so I assume its in lockdown mode. I did do a test on browserstack with the same ios version in safari and it worked without issue, any help would be appericated.

Resources I've looked at:


Solution

  • So after quite some time I did find a solution, it was due to safari/ios/macos's IndexedDB not supporting storing data in a specific format.