Skip to content

Set Obsidian plugin to desktop-only to suppress mobile loading errors#1029

Open
nathancashion wants to merge 2 commits into
DiscourseGraphs:mainfrom
nathancashion:fix/disable-mobile-loading
Open

Set Obsidian plugin to desktop-only to suppress mobile loading errors#1029
nathancashion wants to merge 2 commits into
DiscourseGraphs:mainfrom
nathancashion:fix/disable-mobile-loading

Conversation

@nathancashion
Copy link
Copy Markdown

Summary

  • Sets isDesktopOnly: true in the Obsidian plugin manifest to prevent the plugin from loading on mobile devices
  • The plugin currently relies on desktop-specific APIs (CodeMirror 6 editor extensions, tldraw canvas views, DOM event handlers for drag-and-drop) that cause errors when Obsidian attempts to load it on mobile
  • This is intended as a stopgap — iPad support is plausible in the future since most of the plugin's core functionality (CM6 extensions, vault access, Supabase sync) can work on tablet, but a dedicated mobile compatibility effort would be needed for touch interactions and canvas features

Test plan

  • Verify plugin loads normally on desktop Obsidian
  • Verify plugin no longer appears / causes errors on Obsidian mobile

🤖 Generated with Claude Code

nathancashion and others added 2 commits May 13, 2026 19:28
The plugin relies on desktop-specific APIs (CodeMirror 6 extensions,
tldraw canvas views, DOM event handlers for drag-and-drop) that cause
errors when Obsidian attempts to load it on mobile devices. Setting
isDesktopOnly to true prevents the plugin from loading on mobile,
suppressing these errors until a dedicated mobile compatibility effort
can be undertaken.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
…builds

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant