This is a NFC Reader that is MABS 10 compatible.
It has been tested on Android version 14 against NXP NTAG215 waterproof NFC tag.
The codes has been forked from the original NFC plugin codebase and can be found at https://github.com/PaulHoOutsystems/nfc_mabs10
Reading NFC data
Reading data from NFC sensor is an asynchronous process and is possible using one of the following web blocks:
MimeTypeListener: Listens to any NFC Tag that has data with a specific mime type (i.e. “text/plain”). This listener takes precedence over NdefListener.
Usage is as simple as dragging and dropping into any container and specifying a mime type and callback.
Note: Only TAGs containing records of type RTD_TEXT or RTD_URI are supported.
NdefListener: Listens to any NFC Tag containing an NDEF Message. MimeTypeListener takes precedence over this more generic listener.
Just like MimeTypeListener, usage is straightforward. Just drag and drop into a container and assign a callback.
Note: Only TAGs containing records of type RTD_TEXT or RTD_URI will be decoded. However, the RAW data is available for advanced usages.