iOS LocalStorage doesn't clear properly

Hey there.

I’m running into this issue with iOS mainly. On Android it works mostly as intended.
Basically the scenario is that a user logs in, some data gets saved to LocalStorage so they automatically get logged in again. When they click the Logout Button it should clear the LocalStorage, for some reason it doesn’t work with iOS and I have no damn clue why that’s the case. I’ve tried several things, using the clear() method, setting values to null manually, even tried working with setTimeout to give it some time. I even switched around the drivers, nothing changed with that.

I’m out of ideas with this issue. Can someone give me some advice on how I get this darn storage to reliably delete itself when I press logout? Thanks. <3