r/Supernote_dev • • Aug 28 '26

Showcase Plugins Updated (Shapes, Mindmap, Copilot & Dictionary) to the latest SDK

Hello,

I have updated my plugins to the latest SDK version. Please update to the latest version.

Shapes

https://github.com/j-raghavan/sn-shapes/releases/tag/v1.0.9

Mindmap

https://github.com/j-raghavan/sn-mindmap/releases/tag/v1.0.5

Copilot

https://github.com/j-raghavan/sn-copilot/releases/tag/v1.0.5

Dictionary

https://github.com/j-raghavan/sn-dictionary/releases/tag/v1.3.6

To Supernote Team:

Regarding submission to Inkhub, u/Dunn-sn What is the Official process to submit for review at Ratta? How will new version get updated? What is the process for developers to submit new version?

Thanks!

24 Upvotes

25 comments sorted by

View all comments

Show parent comment

1

u/RutgerHause Aug 28 '26

Good point, Thanks

1

u/Decent_Tap_5574 Aug 28 '26 edited Aug 28 '26

Yes, that is true. I think it is worth to wait for confirmation on the process from Supernote team.

PSA for devs not yet on the new SDK: the preview firmware enforces per-plugin permissions and will break your plugin.

Two steps, both required.

Declare in PluginConfig.json (not AndroidManifest.xml), key is uses-permissions, plural: "uses-permissions": ["plugin.permission.FILE:READ", "plugin.permission.FILE:WRITE", "plugin.permission.FILE:DELETE", "plugin.permission.INTERNET"] usePermissions / usesPermissions parse to null silently.

Then call PluginManager.requestPermission(name) at startup. Declaring alone leaves hasPermission at 0. Requesting an undeclared name throws "This permission has not been declared".

Not just file I/O — getPageSize and the element APIs are gated, so plugins that never touch the filesystem break too. Only your private dir is exempt.

Failure mode is nasty: the SecurityException is thrown inside the native module and never rejects the promise, so it escapes synchronously and the host kills your plugin. A try/catch at the call site won't catch it.

FILE:READ isn't in sn-plugin-lib's JSDoc but it's real and gates getPageSize. https://docs.supernote.com/en/plugin-base/permission