Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Question] Using plugin with joplin-android #24

Open
zutewas opened this issue Apr 23, 2024 · 9 comments
Open

[Question] Using plugin with joplin-android #24

zutewas opened this issue Apr 23, 2024 · 9 comments

Comments

@zutewas
Copy link

zutewas commented Apr 23, 2024

It is possible to use this plugin with joplin-android? I can install this plugin in the android app but can't find options to create a new journal entry.

Thanks

@leenzhu
Copy link
Owner

leenzhu commented Apr 23, 2024

hi @zutewas,

I'm sorry to tell you that i've got no android device, i'm not sure whether it would work with android.

@zutewas
Copy link
Author

zutewas commented Apr 23, 2024

hi @leenzhu ,
thx for ur replay. Do you using any other mobile app? If yes, can you describe the steps for using? Your manual is onyl for desktop joplin.

@leenzhu
Copy link
Owner

leenzhu commented Apr 24, 2024

Hi @zutewas,

I'm also using joplin with iPad, but it seems the joplin app on iOS dosen't support plugin, mostly I just use it as viever. I've already upadated the mobile version to the latest 12.14.6.

Perhaps the coming version of joplin on iOS will be supported:

iOS: Enable plugin support
iOS: Resolves #10154: Allow installing recommended plugins

@andypiper
Copy link
Contributor

I think only the pre-release version of the Android app supports plugins so far, correct?
I can have a look into whether it would be possible to have the journal plugin working in the next version of the Android app - I use the plugin every day so it would be great to have it available on mobile.

@personalizedrefrigerator

I'm sorry to tell you that i've got no android device, i'm not sure whether it would work with android.

I'm linking to the work-in-progress web client, which should allow developing and testing plugins without an Android device.

Perhaps the coming version of joplin on iOS will be supported:

Due to AppStore restrictions, the iOS client only supports recommended plugins.

@leenzhu
Copy link
Owner

leenzhu commented Jul 8, 2024

@personalizedrefrigerator Thanks for the tip 👍

@andypiper
Copy link
Contributor

I just tried loading the plugin in the web version, and it partially works.

  • edit src/manifest.json and add the line "platforms": ["mobile", "desktop"] to tell Joplin Web/Mobile that it should work
  • build the plugin using npm run dist
  • go to the web client, install the plugin .jpl file manually via upload
  • the plugin is now loaded and the options can be accessed in the settings

The problem is that I do not understand how the global menu is supposed to be accessed on the web or mobile versions. So, if I set the "open today's note on startup" option and reload the web version, the note for today does get created; but, there is no menu option to create it, or create a note for another day.

So, I think this may be possible in the future, depending on how the mobile and web versions develop to allow access to menu options / tasks, but right now, this will not fully work.

Journal is probably my most-used Joplin plugin, so I really hope that it all works together fully one day!

@manatarms
Copy link

Thanks for this excellent plugin. I'm also very interested in mobile support.

I was curious if its possible to turn on mobile support for the plugin, maybe with a warning. It looks like the plugin is "desktop-only" by default.
laurent22/joplin#10360

Happy to help test and make the code changes required to make that happen.

Cheers!

@andypiper
Copy link
Contributor

It is straightforward to “enable mobile support” - it is a setting in a json file before building the plugin.

However, as described in my comment above, I do not see how the menu entries / actions provided by the plugin could be accessed in Joplin mobile at the moment. Do you know where in the UI the menu would appear? If not, do you know how the core Joplin mobile app can be modified to enable plugins to contribute actions (ie open todays note, open another days note)?

The other issue would be distribution. On iOS in particular, I believe only certain plugins are being tested and enabled as trusted by the core app team.

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

No branches or pull requests

5 participants