Steps to reproduce

On iOS:

  • Trigger an “open” url to change vault, eg obsidian://open?vault=MyVault (you can do this using the Open URL action in Shortcuts, for example. That’s how I do it and how I found this bug.). This will work first time, so if you’re in MyOtherVault, it’ll switch to MyVault.
  • Trigger it again for another vault name, to switch to MyOtherVault. It’ll stay in MyVault.
  • Try to manually change to MyOtherVault. Pressing the vault button in the sidebar will change the vault for you, to the vault requested in the deeplink.
  • The vault button won’t let you manually change a vault now until you kill the app. It’ll just keep triggering the deeplink.

Expected result

  1. The vault should always change automatically using the deeplink format above.
  2. The Vault button in the sidebar should always show the vault picker view.

Actual result

  • Using the url scheme to change vaults failed after the first time.
  • Using the Vault button in the sidebar just keeps triggering the failed url scheme deeplink rather than showing the vault picker.

Environment

  • Operating system: iOS 15.2
  • Debug info:
    Isn’t showing on the iOS command picker…

Additional information

2 Likes

I can confirm this. Seeing this as well.

I just made an iOS shortcut today and I’m seeing this issue too!

I am also seeing this issue.

I am also experiencing this issue. If the Obsidian app is already running, then using obsidian://open?vault=MyVault to switch to a different vault will appear to do nothing, and I’ll remain in my current vault, viewing my current note.

As soon as I tap the vault switcher icon, it will very briefly flash the vault switcher screen and then automatically switch to the vault previously specified in the URL, and show me the last note I had been viewing from the specified vault.

From now on, every time I tap the vault switcher icon, it does the same thing, giving me no opportunity to select a different vault via the switcher screen.

However, if I run a different shortcut URL such as obsidian://open?vault=MyVault2, the same thing will happen. I will seem to remain in vault 1, but as soon as I tap the vault switcher icon, it will very briefly flash the vault switcher screen and then take me to my last viewed note in MyVault2. It will then remain stuck on MyVault2 until I either kill the app or run yet another shortcut URL to force it to switch to another vault (and remain stuck there).

I’m on the very latest public release of Obsidian mobile 1.1.0 (38) on iOS 15.3.1