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.
The vault should always change automatically using the deeplink format above.
The Vault button in the sidebar should always show the vault picker view.
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.
Operating system: iOS 15.2
Isn’t showing on the iOS command picker…
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
I’m a paid user of the Sync service and I love Obsidian. But an annoying bug prevents me from using it effectively on Android.
Steps to reproduce:
– Create two vaults: A et B.
– Close Obsidian and open the URI obsidian://open?vault=A.
– The vault opens properly.
– Leave Obsidian running the background and open the URI obsidian://open?vault=B.
– Obsidian opens up but still shows vault A.
– Close Obsidian entirely and open again the URI obsidian://open?vault=B. This time around, Obsidian properly opens vault B.
– Opening a vault using a URI should switch to that vault, even if another vault is already open.
– Android 11 RKQ1.200826.002 (rom: MIUI 12.1.4 stable).
– Obsidian Android version 1.1.0 (38), API v0.13.24.