capawesome-team/capacitor-nfc

bug: Response from techTypes not precise

AppsService opened this issue · 7 comments

Plugin version:
"@capawesome-team/capacitor-nfc": "^5.0.2"

Platform(s):
"@capacitor/ios": "^5.5.1"

Current behavior:
When tag is scanned result shown for techTypes is NDEF

⚡️  TO JS {"nfcTag":{"message":{"records":[{"tnf":1,"payload":[2,101,110,72,105],"type":[84],"id":[]}]},"maxSize":106,"id":[224,4,1,80,53,142,246,88],"isWritable":true,"techTypes":["NDEF"]}}
⚡️  [log] - NDEF

Expected behavior:
TechTypes should be NfcV

Capacitor doctor:

💊   Capacitor Doctor  💊 

Latest Dependencies:

  @capacitor/cli: 5.6.0
  @capacitor/core: 5.6.0
  @capacitor/android: 5.6.0
  @capacitor/ios: 5.6.0

Installed Dependencies:

  @capacitor/cli: 5.5.1
  @capacitor/core: 5.5.1
  @capacitor/android: 5.5.1
  @capacitor/ios: 5.5.1

[success] iOS looking great! 👌
[success] Android looking great! 👌

Which tag do you use?

Which tag do you use?

iso15693

This is the tech type. Please send me a link to the tag you bought.

Based on information that I got from company, tag is NXP - ICODE SLIX

I just published a new version with a fix:

npm i @capawesome-team/capacitor-nfc@5.1.0

Please let me know if it works now.

⚡️  [log] - nfcTagScanned {"event":{"nfcTag":{"techTypes":["NDEF","NFC_V"],"id":[224,4,1,80,212,213,2,248],"isWritable":false,"maxSize":0}}}

Got the type 👍🏻

Great, thank you for your response. I am closing this issue.