In order to write NFC apps, our first step is to be able to scan or discover NFC tags.

So in this module, we will build a game to count how much time a player needs to scan five NFC tags.

During the app-building process, we will also learn some important concepts about NFC:

  • First, how to properly configure your app, especially for iOS.

  • Second, how to use react-native-nfc-manager library to discover our NFC tags.

  • Third, since the NFC feature is not supported by all mobile devices, you will need to handle the case when the target device has no NFC feature.

  • Finally, you will also learn how iOS and Android handle NFC events differently. iOS has a default system UI, and Android provides none of this. How to produce a similar user experience is an important topic.

Let's get started!

Start a new discussion. All notification go to the author.