Permissions for plugin for mobile

Hi,

I’m playing around with a plugin targeted primarily at mobile, but I’ll need access to some capabilities that Obsidian doesn’t currently have access to - what is the correct/preferred way to request permissions in an Obsidian plugin running on Android?

Thanks

John

What permissions do you need and why?

We would need to include those in the core app, as they need to be declared when we publish the app.

I need access to NFC - I’m working on a plugin that will allow you to automatically open a specific note by scanning a NFC tag, or write a pointer to a note onto a tag. I’m using the new Web NFC API, and so far it seems to be going fine until I actually try to read a tag, in which case I thought it would automatically trigger a permission request to the user. Unfortunately it just returns a ‘permission request denied’ error.

Thanks

John

p.s. Would it be possible to get an Android test version apk of Obsidian with NFC permissions enabled to verify the Web NFC functionality works? If it doesn’t then it’s not worth pursuing adding NFC permissions to the official stream.