Hello, I wrote a plugin that allow me to insert the microphone audio into a note (like obsidian)
In desktop I can write the audio file to disk, and then post it as resource:
In mobile this doesn't work because I can't use node apis, I tried sending the file Blob directly but the api doesn't support this
There is a mention here of virtual files Web app | Joplin this theoriticly can resolve this issue, but I didn't find a way to use it , is this accessible to plugins ?
The Joplin 3.3 mobile pre-release has an audio recorder built-in.
At least on Android, the <WebView used to run plugins uses a file:// URL. As a result, the Android system WebView sets isSecureContext to false and limits the available APIs — audio recording might not work.
Some work marking the plugin background page as a secure context was done on this branch, but this change was Android-specific and isn't actively being worked on.
Extending virtual files to other platforms could make sense, but it would require some refactoring. At present, virtual files are web only (relevant code).
If I understand correctly this plugin works with the destop version and not with the mobile version.
And for the mobile version something similar is already going from joplin's devs.
Will you share your nice plugin for users of desktop version of Joplin (at least while there's nothing for desktop from joplin devs) or do you give up ?
We are a lot to wait for this function in Joplin. This function exists in Notion from a long time...
I will give you a feed back asap. I will use JOPLIN 3.3.4 portable on WINDOWS 11 first and try Linux (KUBUNTU) after.
What is the link of the reop ?
Again : thanks a lot.