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?
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.
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.
I’m recently developing a plugin that writes Obsidian pages out to an NFC-eInk display. I’ve got both halves working but hit the same “Argh! NotAllowedError: NFC permission request denied” blocker. Did you get anywere? Any chance of a dev build APK with NFC permissions, Devs?