{"repo":"dotintent/flutter-nfc-reader","free":true,"listed":false,"github":"https://github.com/dotintent/flutter-nfc-reader","clone":"git clone https://github.com/dotintent/flutter-nfc-reader.git","description":"Flutter NFC reader plugin for iOS and Android","language":"Kotlin","stars":444,"topics":["nfc","android","flutter-plugin","nfc-tag","flutter","nfc-reader","nfc-library","ios"],"license":"MIT","category":"mobile-apps","readme_excerpt":"Flutter NFC Reader & Writer A new flutter plugin to help developers looking to use internal hardware inside iOS or Android devices for reading and writing NFC tags. The system activate a pooling reading session that stops automatically once a tag has been recognised. You can also trigger the stop event manually using a dedicated function. Supported NFC Format Platform Supported NFC Tags -------- -------------------------------- Android NDEF: A, B, F, V, BARCODE iOS NDEF: NFC TYPE 1, 2, 3, 4, 5 Only Android supports nfc tag writing Installation Add to pubspec.yaml: or to get the experimental one: and then run the shell last step import to the project: How to use Android setup Add those two lines to your AndroidManifest.xml on the top Assign 19 in minSdkVersion in the build.gradle (Module: app) iOS Setup Atm only Swift based Flutter project are supported. - Enable Capabilities / Near Field Communication Tag Reading. - Info.plist file, add Privacy - NFC Scan Usage Description with string value NFC Tag. In your Podfile add this code in the top Read NFC This function will return a promise when a read occurs, till that very moment the reading session is open. The promise will return a NfcData model, this model contains: FlutterNfcReader.read() and FlutterNfcReader.onTagDiscovered() have an optional parameter, only for iOS , called instruction . You can pass a String that contains information to be shown in the modal screen. - id id of the tag - content content of the tag - error if","default_branch":null,"files":null,"tree":[],"storefront":"/r/dotintent","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/dotintent/flutter-nfc-reader/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}