krish-dev / cordova-plugin-k-nfc-acr122u

Cordova ACS acr122u nfc card reader
MIT License
3 stars 3 forks source link

WHY APK AUTO STOP #3

Open mrameen opened 3 years ago

mrameen commented 3 years ago

Androi 7.1.2 Model AOSP on NanoPi 3 When execute this function, application auto stoped and exit. `

  var nfc = window.plugins.acr122;
  nfc.listen(function(event) {
      if (event.state == 'Present') {
          alert("Scanned tag with id " + event.tag.id);
      }
  });

`