Closed mm108 closed 9 years ago
I guess the below should work.
nfc.enabled(
function() {alert('yes!')},
// msg is one of NO_NFC (no hardware support) or NFC_DISABLED (supported but disabled)
function(msg) {alert(msg)}
);
Please let me know if i am wrong. Thanks a ton
@m-menon enabled
will return NO_NFC if the device doesn't support NFC
cool...thank you
hi,
Is there a way to check if NFC hardware is present in the first place - irrespective of whether NFC is turned on or off?
Thanks, M&M