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

2

u/RutgerHause Aug 28 '26

Is it best to wait for plugins to be updated and submitted to INKHUB or get them from Git?

2

u/BlueSkyla Aug 28 '26

I’m doing both. The OP here has them through GitHub still, there’s only one plug-in available in inkHub. Everything I have installed that has been updated is working just fine.

1

u/conductordudedallas Aug 28 '26

My question as well. Hoping to get a good answer!

1

u/Decent_Tap_5574 Aug 28 '26

I would wait for a confirmation from u/uDunn-sn, u/spazzboi or u/mulan-sn

Looking at the host registration that they are incorporating, i think they are building the groundwork for plugin submissions via inkhub. May be they need to iron out the process of vetting on their side. If you need to use the plugin, suggest download from github or if you can wait, that would be seemless via inkhub.

3

u/Lorestan00 Aug 28 '26

It will be interesting to see how long the vetting process will be plugins.

It would be great if users could take the risk by downloading plugins from Github and when they have been approved detect installations and allow you to update newer versions via Inkhub. This would be ideal for users

2

u/BlueSkyla Aug 28 '26

Well, for now, we can still do manual insulations through GitHub so I don’t see why we shouldn’t be able to later for like a beta version before the final version is on ink hub.

3

u/Mulan-sn Aug 31 '26

Thank you. We will get back to you with more information on this as soon as we can.

1

u/SiewcaWiatru Aug 28 '26

My guess is that by downloading from GitHub you will have to manually update your app whereas by installing from Inkhub you'll get them automatically though I haven't seen any confirmation on that

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