SDK

Scannables

This feature is available partially for the HTML5 implementation of our library. It is the responsability of your web application to handle the scanning of a NFC Tag or QR Code using 3rd party libraries until browsers adopt the W3C proposal being discussed to date.

Once you took care of the reading/scanning functionality of a NFC Tag or QR Code, you can use that payload in the method below to fetch a previously created Scannable in Notificare:

1
2
3
4
5
6
7
8
9
10
notificare.fetchScannable(payload).then((scannable) => {
    //Handle success

    if (scannable.data) {
        //Handle content of a scannable
    }

}).catch((e) => {
    //Handle error
});