Bug description
When sharing a URL/text from another app (Chrome, X, etc.) to Obsidian, pressing the back button does NOT
return to the source app — it goes to the home screen.
Other apps (Pocket, Notion, Google Keep) correctly return to the source app after a share intent.
Steps to reproduce
- Open Chrome or X on Android
- Share an article to Obsidian
- Press back button
Expected: Returns to Chrome/X
Actual: Goes to home screen
Likely cause
Obsidian’s activity uses singleTask launch mode, which breaks the Android back stack. Using singleTop for
the share-receiving activity would fix this.
Environment
- Samsung Galaxy S25 Ultra
- Android 15 (One UI 7)
- Obsidian: latest