A new flutter plugin to help developers looking to use internal hardware inside Android devices for reading NFC tags.
Platform | Supported NFC Tags |
---|---|
Android | NDEF |
import 'package:nfc_reader/nfc_reader.dart';
Add those two lines to your AndroidManifest.xml
on the top
<uses-permission android:name="android.permission.NFC" />
<uses-feature
android:name="android.hardware.nfc"
android:required="true" />
For better details look at the demo app.
For help getting started with Flutter, view our online documentation.
For help on editing plugin code, view the documentation.