Well this is a weird one. I’m saving the boolean returned from a
ion-toggle into local storage so that when the user clears the app and comes back, the toggle will still be turned on if they had it that way, and vice versa.
The issue is that even though the key in local storage
notificationsValue stores the correct value, the toggle doesn’t bind to it when the page is refreshed.
I’ve created a pen illustrating the problem. To replicate, simple chose the toggle to be on, check local storage to make sure it says ‘true’ for
notificationsValue and then refresh the page. You’ll notice the toggle will be off.