Closed zzeitt closed 1 week ago
The plugin cannot be installed on android/ios because of this line in the manifest.json :
"isDesktopOnly": true
I don't use obsidian on mobile so it's not implemented.
Change "isdesktoponly" to "false" does make it installable on iOS. But it doesn't take any effect on .org files.
Did I miss something or it just doesn't work on mobile devices?
I took a look with android (following https://docs.obsidian.md/Plugins/Getting+started/Mobile+development), one problem is that global
doesn't exist on mobile
https://github.com/BBazard/obsidian-orgmode-cm6/blob/58c93807e25f8a74b2f157434c3370bd2bc3af02/main.ts#L85-L86 This is the way the plugin allows you to change the settings without reloading the codemirror extension, and allows other plugins to have access to those settings.
So yes, currently it just doesn't work on mobile devices.
I think we could make it work by using codemirror compartments but I am not sure when I will have the time to make the change, and maybe there is other issues on mobile.
Well, thanks for your reply! I am not familiar with obsidian plugin developing, so little help can I offer. But I will keep tracking this issue.
I released 2.0.0 with mobile support.
I tested it on android, can you tell me if it works on your side with iOS?
It works! Thanks! Nice to see that orgmode invade Obsidian successfully 😈.
By the way, there is only source/edit mode in orgmode view. Can we support something like "markdown preview" in orgmode view?
Possible to implement with decorations, but everything has to be done from scratch since obsidian is not open source.
Okay, will give more try in editing mode. Thank you!
Can't install on my iPhone 12 mini.