Use case or problem
I’m developing a Jupyter plugin that only works on desktop for now, hence the isDesktopOnly
property of my manifest is set to true
.
One of the beta testers told me that they use Obsidian Sync for both their desktop and mobile devices. My plugin works fine on desktop, but when syncing to the mobile, the plugin is considered as incompatible (because it is) and its settings (data.json
) get deleted, both on mobile and desktop.
This feels like a bug, but since only bugs that are reproducible without any community plugins are accepted, I post this as a feature request.
Proposed solution
For plugins that are only working on desktop, handle that case in particular in Obsidian Sync, by disabling it or something, but without deleting the plugin settings and files if possible.
This would allow the plugin to stay configured correctly while allowing Obsidian Sync to be used.
Current workaround (optional)
I currently plan to set isDesktopOnly
to false
in my manifest and manually skip executing the onload
hook of the plugin if mobile is detected. This way the plugin is compatible and is not disabled but does not break anything in the vault either.
Thank you in advance for your time and help !