nfc_manager 0.1.0+2 copy "nfc_manager: ^0.1.0+2" to clipboard
nfc_manager: ^0.1.0+2 copied to clipboard

outdated

A Flutter plugin to use NFC. Supported on both Android and iOS.

nfc_manager #

A Flutter plugin to use NFC. Supported on both Android and iOS.

Requirements #

This plugins uses the following API to read the tag:

  • NfcAdapter#enableReaderMode (on Android)
  • NFCNDEFReaderSession (on iOS11/12)
  • NFCTagReaderSession (on iOS13 or later)

Therefore, Android API level 19 or iOS 11.0 is required. Otherwise, the error will be thrown.

Setup #

Android Setup #

  • Add the permission to your AndroidMenifest.xml:
<uses-permission android:name="android.permission.NFC" />

iOS Setup #

<key>com.apple.developer.nfc.readersession.formats</key>
<array>
    <string>NDEF</string>
    <string>TAG</string>
</array>
<key>NFCReaderUsageDescription</key>
<string>[YOUR DESCRIPTION]</string>
<key>com.apple.developer.nfc.readersession.iso7816.select-identifiers</key>
<array>
    <string>[AID]</string>
</array>

<key>com.apple.developer.nfc.readersession.felica.systemcodes</key>
<array>
    <string>[SYSTEM CODE]</string>
</array>
411
likes
0
pub points
98%
popularity

Publisher

verified publisherokadan.net

A Flutter plugin to use NFC. Supported on both Android and iOS.

Repository (GitHub)
View/report issues

License

unknown (LICENSE)

Dependencies

flutter

More

Packages that depend on nfc_manager