chariotsolutions / phonegap-nfc

PhoneGap NFC Plugin
MIT License
706 stars 557 forks source link

nfc.readerMode #256

Closed mm108 closed 6 years ago

mm108 commented 7 years ago

hi,

Was wondering if this (nfc.readerMode) is functional and how would I use this? Do I call this before or after adding the Listener? Currently I read the NFC card by the below code

    nfc.addNdefListener (
        nfcHandler,
        function () {
            console.log("Success, listener added. You can now scan a tag.");
        },
        function (error) {
            alert("Adding the listener failed.");
        }
    );

Thanks

don commented 6 years ago

There's no nfc.readerMode. This would need to be implemented. See #198