[Bug] iOS app extremely laggy / freezes

When you had problems, was it after a lot of changes had taken place in your vault? Or was it a first launch of that vault?

And what sync service was this with?

@ryanjamurphy this was after an initial seeding of the vault (to iCloud). So yes there was activity going on at first. I made a full copy of my ā€œrealā€ vault just to play around with the mobile app.

Yeah, initial launch always seems to have issues. Same if you come back to the vault after a lot of changes have taken place. iCloud is simply stubborn about how files are handled, and Obsidian needs to see every file in the vault. That initial downloading and indexing activity is what causes the lag, but once itā€™s done, it tends to perform perfectly.

The only solution I can imagine is deliberately locking down the app while this loading activity takes place, giving the use only a progress bar, loading screen, or similar.

Got it. Yes it seems to be working pretty smoothly now after a few false starts and quite a bit of waiting. A locked screen with a progress bar would definitely be a big UX improvement.

Is this experience the same when using the paid Obsidian Sync service instead of iCloud? If Sync works better that would be another big incentive to switch to it.

IIRC the Sync experience is a little better on first launch, as the files are synced from within Obsidian. Sync has also generally been celebrated for being faster/more reliable, plus the other benefits it has over iCloud.

Naturally there are tradeoffs. (E.g., I use iCloud because Sync has a max vault size.)

1 Like

I suspect itā€™s because the files inside the iCloud/Obsidian/{vault} havenā€™t completely downloaded from iCloud (itā€™s a new iPad) so I killed the Obsidian app and opened Files, and navigated to my vault and left it open until the cloud download icon disappeared from each file. Scrolling through the list will do that, or you can tap-hold on the file and pick Download from the context menu.

After I made sure there arenā€™t any pending downloads, I then opened Obsidian. Of course it was laggy but not as much as before. Maybe thatā€™ll help?

1 Like

I have been having this same sort of issue using iCloud to sync across mobile and desktop. The iOS app would often hang or crash on initial launch, and then ā€œcatch-upā€ and work fine one or two launches later. I recently switched to syncing with git following these instructions:

This seems to have solved the issue and the first launch experience is very snappy now. So, for me at least, this was probably an issue to do with scanning and indexing the iCloud files on launch. Hopefully the added overhead of pulling and pushing using Working Copy isnā€™t too tiresome, weā€™ll see.

1 Like

I have the same issues using icloud on iphone . It crashes on the launch quite frequently. Some time it works but in general, itā€™s the point of being unusable. :frowning:
I tried uninstalling, reinstalling. etc w/o much help.

What iPhone are you using? If you check Files, are many of the files in your vault not downloaded?

I have iphone Xs Max with 15.01 version running. I donā€™t see files not downloaded if I see from the files app in the vault directory.

Interesting. My bet is that itā€™s not downloading some hidden files in your vault that are required for Obsidian to work. Thereā€™s a fix coming in 1.0.5 for that.

1 Like

I am having the exact same issue on my iPad Pro 11ā€. Obsidian is unusable for long periods of time, though it works without issue on iPhone and Mac.

1 Like