-
Notifications
You must be signed in to change notification settings - Fork 129
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can I use it in chrome extension? #118
Comments
Hi @bryht, unfortunately, nfc-pcsc cannot be used in Chrome extensions. 😢 nfc-pcsc can be only in Node.js environments because it uses Node Native Modules to access system PC/SC API. So the Node.js runtime and PC/SC API are required for nfc-pcsc to run. That makes it possible to use it on most OS (Windows, macOS, Linux) directly in Node.js or in Electron.js and desktop apps. Depending on your use case, there are different possibilities for the use of NFC in the browsers (whether directly in web pages/apps or in browser extensions):
Hope this answers your question. 🙂 Let me know if you need anything else. |
Hi @pokusew, Thank you for the detail answers, they are really helpful, follow your advice, I have tried Web HID API and Web Serial API in chrome console: unfortunately they cannot list my ACR122U, |
Anyone knowing about the question? want to add NFC read ability to my website. Or anyone has other ideas? Thanks in advance.
The text was updated successfully, but these errors were encountered: