https://github.com/don/ionic-nfc-reader
NFC Reader using Cordova, Ionic Framework and phonegap-nfc plugin
https://github.com/don/ionic-nfc-reader
Last synced: about 1 year ago
JSON representation
NFC Reader using Cordova, Ionic Framework and phonegap-nfc plugin
- Host: GitHub
- URL: https://github.com/don/ionic-nfc-reader
- Owner: don
- License: other
- Created: 2014-10-17T04:48:57.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2018-06-11T23:42:27.000Z (almost 8 years ago)
- Last Synced: 2024-10-12T05:47:35.912Z (over 1 year ago)
- Language: JavaScript
- Homepage:
- Size: 3.41 MB
- Stars: 78
- Watchers: 12
- Forks: 46
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# PhoneGap NFC Reader
This project demonstrates reading NFC tags using [Apache Cordova](http://cordova.io) and [phonegap-nfc](https://github.com/chariotsolutions/phonegap-nfc).
This is an [Ionic Framework version 1](http://ionicframework.com/) port of [phonegap-nfc-reader](https://github.com/don/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
* [www/index.html](www/index.html)
* [www/js/app.js](www/js/app.js)
* [www/js/filters.js](www/js/filters.js)
* [www/css/style.css](www/css/style.css)
If you're starting a new project with Ionic v3, take a look at the [Ionic Native wrappers for phonegap-nfc](https://ionicframework.com/docs/native/nfc/).