I had a vault on my win10 PC. Then I subscribed my account to the Obsidian Sync. On my Android mobile, I successfully had my vault synched. It worked for some days, then suddenly it won’t start up. It stuck at the Loading Workspace phase.
Might be related to me trying to open a pdf in my vault (but obsidian android seemed to be unable to display its content). Then I just kill the process (as usual). Might also be related to other actions that I didn’t notice.
Tried clicking the “Reload app” button. No help.
Tried clearing the cache and user data from the android system. No help. When I open the local vault (or open the obsidian sync and choose the local vault’s path), it starts loading workspace forever and again.
Did you follow the troubleshooting guide? [Y/N]
Y
Expected result
Actual result
screen recording:
Environment
Android 10, MIUI12.0.3, from 2020
Android System WebView 83.0.4103.101, in case you wonder
Additional information
The only community plugin installed on the android obsidian is Kanban.
The only remaining question is that how is it possible that this simple error (or what so ever) is not caught and handled properly, causing the whole app stuck at this point ?
I would say that my phone, manufactured in 2020, having this version of webview, is outdated but definitely not obsolete.
My core concern is that my branded (Xiaomi) phone has its own APP store (instead of google play store) which keeps those APPs tested for best compatibility on this branded phone (for this brand-customized/modified android system), and that it does not provide newer versions of android webview.
It means that, for nearly all buyers, updating webview is not encouraged and might introduce incompabilities.
That is why you should not blame it for so-called “obsolete” webview.
and btw, since I pinpointed the issue in the workspace-mobile.json file, I guess the problem could be in JSON parsing, so I’ll test the problematic JSON file with an updated android webview, and let you know later whether the bug persist with the newest webview.
Webview 89 is really too old and it’s out of our support. If you were on desktop with such an old version of Electron/Chorme, you would get a permanent popup asking you to update.
We are wondering if we should introduce the same thing on mobile.
I don’t think the problem is the JSON. Maybe the problem is the PDF viewer being unable work with an old version of webview.
You’re right, the “problematic” JSON file works with an up-to-date webview.
That being said, I still strongly suggest that you add some codes for version-testing or exception-handling in case your PDF viewer (or other components) could not work as expected.
From the user side, an infinite Loading Workspace animation during the startup phase really means nothing and gives us absolutely no clue about what happened exactly.