cordova-plugin-acr122
v0.5.2
Published
A cordova plugin that enables connecting an external ACS ACR 122 NFC-reader to an Android-device
Downloads
11
Maintainers
Readme
cordova-plugin-acr122
A Cordova plugin that enables integration with an external ACS ACR122U NFC-reader.
API:
listen(callback) - register a listener
cancel() - cancel the currently registered listener
Example:
var nfc = window.plugins.acr122;
nfc.listen(function(event) {
if (event.state == 'Present') {
alert("Scanned tag with id " + event.tag.id);
}
});