proposals
proposals copied to clipboard
NFC
Plugin Request
Name: NFC
Package: @capacitor-community/nfc
Platform(s)
- iOS
- Android
- Web (for the future, depends on W3C Draft WebNFC)
- seems that it works already on the latest Chrome Version: https://web.dev/nfc/
Existing Solutions
Description
Clean Capacitor plugin for NFC communication. Remove support for old platforms like Blackberry 7, 10 and WP8. With the functionalities form the phonegap plugin:
- read data from NFC tags
- write data to NFC tags
- send data to other NFC enabled devices
- receive data from NFC devices
- send raw commands (ISO 14443-3A, ISO 14443-3A, ISO 14443-4, JIS 6319-4, ISO 15693) to NFC tags
Hey dude, I actually have some experience with Android NFC. I can help tackle this if you're down to collab on it.
Possibly a more modern codebase as starting point (forked from Phonegap-NFC): https://github.com/iotize-sas/device-com-nfc.cordova
@imhoffd @IT-MikeS When can we expect a decision if the nfc plugin will be added to the repository?
I'm afraid I don't have any permissions to do that.
However maybe @elylucas would be able to help you out
Any news about this? I would be happy to manage this package if needed.
I'm currently working on a NFC plugin with Android, iOS and web support. Are there any functionalities that you have been missing in previous solutions? Do you have any specific use cases?
@robingenz that sounds amazing! I'm currently making heavy use of readerMode from the @ionic-native/nfc package
@adnathanail Good to know! I'll put it on my roadmap. The first version will be ready in a few weeks.
I wonder if there is any finished nfc plugin now.
@SrknMcT You are lucky. I'm finally done and will announce my plugin tomorrow.
Great news! Does it have built-in support to read credit card numbers( Most just read tag ids) ? Anyway, I am waiting it impatiently...
The Capacitor NFC plugin is now available as sponsorware! 🎉
🔋 Supports Android, iOS and the Web ⚡️ Capacitor 3 and 4 support 🔧 Utility functions 🔔 Background Tag Reading
Checkout the announcement blog 👇 https://dev.to/capawesome/announcing-the-capacitor-nfc-plugin-1550
@SrknMcT This should be possible with NFC raw commands which is part of the roadmap. I'm having some time off soon and plan to invest another week into the plugin and its features. In that time I should be able to implement this. Currently, mainly NDEF is supported, which should already be useful for many. Therefore the first release.
@adnathanail The Android Reader Mode is also on the roadmap and should be ready soon.
Hi @robingenz , will I be able to scan NFC of passports and read its data using your sponsorware?
@rs2-davebanguilan So far the plugin only supports NDEF but in two weeks there will be a new update with NFC Custom Command support. Whether it is then possible, I do not know, because I have never tested it. As far as I know reading passports via NFC is not very easy and you often take special libraries for it like e.g. https://jmrtd.org/
@SrknMcT @rs2-davebanguilan The plugin now also supports NFC raw commands. Let me know if you have any questions.