Closed pdipax closed 5 years ago
I have the same problem - NFC is enabled and listeners are set without any errors but no events are fired. The device makes the NFC read sound, but nothing in the app.
Looks like a readme issue actually, but to kind of 'notify' users I've released a patch version (3.0.1) to npm. The change is this line (.js instead of .ts):
Also see this PR: https://github.com/pdipasqua/test-nfc/pull/1
I have the same problem. I added resolve(__dirname, "node_modules/nativescript-nfc/nfc-activity.android.js")
but events listener doens´t work.
Hi guys, I have installed this plugin but the only methods that work are available and enabled. This is my code on the mounted event:
I declare NFC as: import { Nfc } from "nativescript-nfc"
No errors and only logs on available and enabled on real android device but no read a mifare card.
Any suggest? Thanks, P