Closed Faustxx closed 9 years ago
First of all, thanks for your great work.
My problem is that nfc.enabled() is not working correctly for me.
I'm getting NO_NFC in devices without NFC, and NFC_DISABLED when this feature is manually disabled in the device. This is working as intended.
But neither of the callbacks (success/failure) are being called at all when NFC is enabled on the device.
I can read NFC tags without problem, I just don't get the NFC_OK message I should be getting.
I'm using: Cordova 4.2.0 NFC 0.6.1 (retrieved with this command: cordova plugin add com.chariotsolutions.nfc.plugin") Sony Xperia M
I'll take a look at this soon
Install the plugin from github until 0.6.2 is released
cordova plugin add https://github.com/chariotsolutions/phonegap-nfc
It is working now.
Thanks a lot!
First of all, thanks for your great work.
My problem is that nfc.enabled() is not working correctly for me.
I'm getting NO_NFC in devices without NFC, and NFC_DISABLED when this feature is manually disabled in the device. This is working as intended.
But neither of the callbacks (success/failure) are being called at all when NFC is enabled on the device.
I can read NFC tags without problem, I just don't get the NFC_OK message I should be getting.
I'm using: Cordova 4.2.0 NFC 0.6.1 (retrieved with this command: cordova plugin add com.chariotsolutions.nfc.plugin") Sony Xperia M