/ionic-nfc-reader

NFC Reader using Cordova, Ionic Framework and phonegap-nfc plugin

Primary LanguageJavaScriptOtherNOASSERTION

PhoneGap NFC Reader

This project demonstrates reading NFC tags using Apache Cordova and phonegap-nfc.

This is an Ionic Framework version 1 port of phonegap-nfc-reader.

Your computer needs to be set up for Cordova and Android development.

Install Ionic

npm install -g ionic

Clone the project

git clone https://github.com/don/ionic-nfc-reader.git

Plug in your NFC enabled Android phone. Then build and run the app.

cd ionic-nfc-reader/
ionic cordova run android --device

Note this is an old Ionic v1 project. It was updated in June 2018 to run with the newer Ionic v3 command line tools which still support Ionic v1.

Most of the code in this project is generated boilerplate. The files I modified are

If you're starting a new project with Ionic v3, take a look at the Ionic Native wrappers for phonegap-nfc.