The only thing I can't seem to figure out is how I can get the data/event when starting my application with my NFC tag. To clarify, I added 2 records to my NFC tag.
Data record (Content-Type + Data)
AAR (Android Application Record) pointing to my application ID
I registered the listener with nfc.addMimeTypeListener and everything works well if the application is already open. I get the data and am able to react on it.
When my application is closed, the NFC tag opens the application due to the AAR record on the tag but the mimeType hook is not called. Is this possible with this plugin via a method/flag?
Thanks for this plugin. It works very well!
The only thing I can't seem to figure out is how I can get the data/event when starting my application with my NFC tag. To clarify, I added 2 records to my NFC tag.
I registered the listener with
nfc.addMimeTypeListener
and everything works well if the application is already open. I get the data and am able to react on it. When my application is closed, the NFC tag opens the application due to the AAR record on the tag but the mimeType hook is not called. Is this possible with this plugin via a method/flag?