don/ionic-nfc-reader

Error on plugin add

julianlecalvez opened this issue · 4 comments

I have a simple ionic project, but I'm unable to install the plugin. It seems that the plugin is a PhoneGap one only. But this example is for ionic. What am I missing ?

$ cordova plugin add com.chariotsolutions.nfc.plugin
Error: Registry returned 404 for GET on https://registry.npmjs.org/com.chariotsolutions.nfc.plugin
don commented

The plugin id changed when things were moved to NPM. Try

cordova plugin add phonegap-nfc

Thanks ! it works !
But I tried 2 NFC tags, and it doesn't detect anything.
My tags are detected with this app: https://play.google.com/store/apps/details?id=com.nxp.taginfolite&hl=en
Here is a screenshot of the tag detected

So I guess it's another pb ?

don commented

That screenshot says your device doesn't support MifareClassic tags. (Since it has a Broadcom NFC chip.)

You need to get some NFC Forum Type 1,2,3 or 4 tags to use that phone.

Alternately you could try the code on an Android phone with the NXP NFC chip.

Mmmh ok ! Thanks !!
I tried with a third kind of tag I have and it works, but i can't use them because they are not compatible with my arduino reader :(

Thanks for your help !!