Open nowayhaze opened 9 months ago
Thank you for letting me know!
The Freehand Drawing plugin uses temporary files (through fs-extra
) to store and update drawings before sending them to Joplin. For now, there isn't a file system API available to mobile plugins.
Here are two possible ways of fixing this:
fs-extra
module using the mobile file system API internally
fs
or fs-extra
could be difficult
Environment
Joplin version: prerelease-5 Platform: Android on Samsung Tab S7 Plus OS specifics: Android 13
Steps to reproduce
Describe what you expected to happen
I get an error when loading io.github.personalizeerefrigerator.js-draw
PluginRunner: "Plugin io.github.personalizeerefrigerator.js-draw: Unandled promse rejection: Error: Unable to require module os on mobil.. Promise: [object Promise]."
I tried another plugin (ABC Sheet Music) and it does work, but the Freehand Drawing one fails to load.