Skip to content
This repository has been archived by the owner on May 10, 2024. It is now read-only.

bug: Response from techTypes not precise #46

Closed
AppsService opened this issue Jan 15, 2024 · 7 comments
Closed

bug: Response from techTypes not precise #46

AppsService opened this issue Jan 15, 2024 · 7 comments
Labels
bug/fix Something isn't working platform: ios iOS platform

Comments

@AppsService
Copy link

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! 👌
@robingenz
Copy link
Member

Which tag do you use?

@AppsService
Copy link
Author

Which tag do you use?

iso15693

@robingenz
Copy link
Member

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

@AppsService
Copy link
Author

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

@robingenz
Copy link
Member

I just published a new version with a fix:

npm i @capawesome-team/[email protected]

Please let me know if it works now.

@AppsService
Copy link
Author

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

Got the type 👍🏻

@robingenz
Copy link
Member

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug/fix Something isn't working platform: ios iOS platform
Projects
None yet
Development

No branches or pull requests

2 participants