First, search the help docs and this forum. Maybe your question has been answered! The debugging steps can help, too. Still stuck? Delete this line and proceed.
What I’m trying to do
I am trying to find the location of Obsidian indexedDB on mobile (Android) to retrieve snapshot files past the File Recovery’s History Length.
Things I have tried
I have tried accessing the Obsidian Android data folder, to no avail.
I have tried looking at my Mac’s Appdata folder, successfully finding the indexedDB. However, I wasn’t able to find similar posts for indexedDB on Android.
The Help section about this unfortunately only lists locations for desktop OSes. You could post an issue about that on the Help’s GitHub (linked near the bottom of the homepage).
In the meantime, you could try researching where Capacitor (the mobile framework Obsidian uses) stores its IndexedDB on Android.
It’s stored in a private area for the app and it’s not accessible as a simple file outside of it (like it is on desktop). This is true for both iOS and Android.
I found the folder in /data/data. I think I can obtain it using a debuggable version of Obsidian. Do you have one? I tested on my Mac, and Obsidian seems to store snapshots past the expiration date.
There is no debugabble version of Obsidian.
Obsidian doesn’t make temporary files.
You can debug mobile Obsidian (and access the contents of indexeddb) by connecting your phone to a computer and using chrome remote debugging functionality.
I think I lost the document due to a commonly occurring error, which is that taking the USB out of the phone right after writing on a .md note erases all of its contents. Hopefully, it is fixed soon.
Perhaps now, the documentation should add the Chrome remote debugging alongside the Mac, Windows, and Linux IndexedDB pathways, it worked very well. May I add it if y’all are too busy? I know how hectic development can get.