[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.

1 Like

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.


Can we just write to disk in the meantime?

Yeah the usual trick here is to just use your plugin config.


This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.