[Bug?] localStorage not writing/reading


[x] iOS
[ ] Android

Obsidian Mobile version: v0.0.17

In the latest update of Buttons plugin I’m using localStorage to store and retrieve button values. It isn’t working on iOS mobile app. I’ve used a workaround (global object) for the plugin. I’m just wondering if there is a way to use localStorage on mobile, or if it should be avoided.

I read somewhere that iOS wipes the localStorage when your device is low on storage space, so localStorage shouldn’t be used for long-term persistent data? We will look into offering an alternative API for that in a future release.

1 Like