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:
let isLockdownModeEnabled = (UserDefaults.standard.object(forKey: "LDMGlobalEnabled") as? Bool) ?? false
however I cant access UserDefaults via javascriptSo 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.