I tried deleting and reinstalling the app without any change to behaviour.
Having checked the Sync log after receiving the null is not an object error it does appear to be syncing - I can see it downloading a big pile of files, all the way up to fully synced (there are no errors). However, when I close/restart the app and open the Sync settings, it says it is not connected to any remote vault.
I have two remote vaults in total.
Obsidian doesn’t appear in the list of apps for which you can disable lockdown mode, so I haven’t checked this yet - I’ll take another look over the weekend and see if lockdown mode makes a difference.
FYI we had another user with Lockdown Mode enabled report issues via the support email; they were able to resolve it by adding Obsidian to the exclusion list. (I’m not sure how that’s done, exactly, but at least we have n = 1 for a potential solution here.
Yes, I’ve already tried rebooting the phone, but to no avail. I would urge you to try replicating the steps mentioned above yourself, as this issue is not unique to me.
Quite a few individuals in the Obsidian Discord community are experiencing the same problem.
The only workaround we have found so far involves completely disabling Lockdown Mode, syncing, and then re-enabling it, which is far from ideal. This process necessitates a restart and disrupts our workflow significantly.
Obsidian Sync is a paid service and currently, it’s not functioning for those who use Lockdown Mode.
I appreciate your suggestion, but isn’t it possible for the app to operate normally in Lockdown Mode like many other apps do?
Further, from my understanding, Apple will not consider this a bug that needs fixing. Typically, apps only appear in the exclusion list if they open an in-app Safari browser, which Obsidian doesn’t. So, it might not be an issue they will address. Can you help clarify this?
To help others facing the same issue: I also ran into issues with Obsidian Sync in Lockdown mode. The solution was to exclude the app in Lockdown settings.