The newline Guide to NFCs with React Native
NFC technology is everywhere in our daily life, from transportation, access control, to payment system. However, understanding NFC is still a hard topic because of its wide technology landspace. So in this course, We will guide you from the simplest case like using common NDEF format, all the way to a complex digital identity management app which leverages some unique NFC features.
NFC technology is everywhere in our daily life, from transportation, access control, to payment system. However, understanding NFC is still a hard topic because of its wide technology landspace.
So in this course, We will guide you from the simplest case like using common NDEF format, all the way to a complex digital identity management app which leverages some unique NFC features.
What You Will Learn
How to integrate NFC feature into your React Native app
How to handle the differences between Android and iOS regarding NFC feature
Understand NDEF and use it across iOS and Android
How to use NFC tags with deep link
Understand low-level NFC programming and communicate with NFC tags directly
How to use asymmetric cryptography library with React Native
How to use password protection commands from NTAG 21x NFC tags
What we will cover in this course
First, I will provide an overview of NFC technology, so you can understand basic concepts and terms. After that, we will build three apps throughout this course.
App 1: Tag Counter
App 1 is a game app to count how much time a user needs to scan five NFC tags. You will learn:
- how to properly set up an NFC project
- how to trigger NFC scanning
- the difference from iOS and Android regarding NFC feature
App 2: Tap-and-Go
App 2 is about NFC Data Exchange Format (NDEF), which is the standard NFC data format supported by both iOS and Android. NDEF can be used for almost any NFC tag. We will build an NDEF reader-writer app, and you will learn:
- how to write specific NDEF URI into NFC tags
- how to read NDEF URI and trigger corresponding actions, for example, opening an URL, making a phone call, or sending a message.
- how to use deep linking with NFC tags.
App 3: NFC Pokemon
App 3 dives into low-level NFC programming, which directly manipulates the NFC tag’s internal memory and uses proprietary NFC commands. The app we'll build is called "NFC Pokemon," which is a digital identity management platform. It can seal a specific Pokemon, for example, a Pikachu, into an NFC tag.
When building this app, you will learn:
- how to use low-leve tag command to directly manipulate NFC tag's internal memory
- how to create digital signatures in React Native
- how to use proprietary password protection command for NXP NTAG 213 / 215
Tag-Counter Game App
Frequently Asked Questions
Who is this course for?
Everyone interested in building NFC app with React Native
Basic React Native knowledge, and a mobile phone with NFC feature (iOS users will need to enroll the Apple Developer Program because NFC doesn't work in simulators) will be enough!
Where can I get NFC tags suitable for this course?
We choose NXP NTAG213 or NTAG215 for this course. They're cheap and can be easily purchased from places like Amazon
What if I need help?
You can ask us questions anytime through the community Discord channel or by sending us a message.