1

I am trying to build a basic barebones app for testing purposes in which you can scan an NFC tag and it will display its content. I am using React for web, and wrapping it with Capacitor. I am mainly testing in xcode/ios.

I tried phonetag-nfc and capacitor-nfc but they don't seem to be working properly. There is always an error when reading the tag, but the error itself is empty.

Did someone succeed with any library? Are there any other steps that I should take to enable NFC for my app? I don't want to publish it or something, it's just for testing now. What library would you recommend for this use case?

1
  • Please edit the question to limit it to a specific problem with enough detail to identify an adequate answer. Commented Jan 17, 2024 at 23:08

1 Answer 1

0

Looks like you need to enable the feature in Xcode, and/or add it to your android manifest.

Make sure that the Near Field Communication Tag Reading capabilities have been enabled in your application in Xcode. See Add a capability to a target for more information.

capacitor setup docs

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.