Currently nfc_in_flutter only supports tags that support the NDEF specification. There have been numerous requests for better tag support (#18, #12, #14). Having support for accessing the tag directly would also allow for retrieving the ID of the tag on iOS (#35, #7).
This issue will be a plan for implementing support for interacting directly with the tags themself.
All work will be done on the tags branch. The tags branch should be considered unstable and should not be used in production.
Features and to-do list
nfc_in_flutter.dart library
APIs for both Android and iOS
[ ] Add ISO15693Tag class with methods matching Core NFC's
[ ] Add readISO15693 function
[ ] Add MiFareTag class
[ ] Add readMiFare function
These APIs will be high level to match Core NFC's APIs
android.dart library
The android.dart library will contain classes and functions mapped to the Android NFC APIs.
[ ] Add NfcA support
[x] Add NFCA class (rename to NFCATag)
[x] Add readNFCA function
[ ] Stablise
[ ] Add NfcB support
[ ] Add NFCBTag class
[ ] Add readNFCB function
[ ] Add NfcV support
[ ] Add NFCVTag class
[ ] Add readNFCV function
[ ] Add NfcF support
[ ] Add NFCFTag
[ ] Add readNFCF function
[ ] Add IsoDep support
[x] Add IsoDep class (rename to ISODEPTag or IsoDepTag)
[x] Add readIsoDep function (possibly rename to readISODEP)
[ ] Stablise
Note that NfcA and IsoDep APIs are unfinished
ios.dart library
The ios.dart library will contain classes and functions mapped to the Core NFC APIs.
To-dooOooOooOoooOoooooOOOoooo
Implementation plan
Finish the NfcA and IsoDep APIs in the android.dart library
iOS: Add option to prefer NFCTagReaderSession in readNDEF
[x] Add the IDs of the tags to the NDEF message
Remember to add documentation on how to enable NFCTagReaderSession
To be decided
This issue may be updated at any time.
Work on this will begin shortly because I have finally figured out how to enable the NFCTagReaderSession class on iOS. This shall never be spoken about ever again.
Currently nfc_in_flutter only supports tags that support the NDEF specification. There have been numerous requests for better tag support (#18, #12, #14). Having support for accessing the tag directly would also allow for retrieving the ID of the tag on iOS (#35, #7).
This issue will be a plan for implementing support for interacting directly with the tags themself.
All work will be done on the
tags
branch. Thetags
branch should be considered unstable and should not be used in production.Features and to-do list
nfc_in_flutter.dart
libraryAPIs for both Android and iOS
ISO15693Tag
class with methods matching Core NFC'sreadISO15693
functionMiFareTag
classreadMiFare
functionThese APIs will be high level to match Core NFC's APIs
android.dart
libraryThe
android.dart
library will contain classes and functions mapped to the Android NFC APIs.NfcA
supportNFCA
class (rename toNFCATag
)readNFCA
functionNfcB
supportNFCBTag
classreadNFCB
functionNfcV
supportNFCVTag
classreadNFCV
functionNfcF
supportNFCFTag
readNFCF
functionIsoDep
supportIsoDep
class (rename toISODEPTag
orIsoDepTag
)readIsoDep
function (possibly rename toreadISODEP
)Note that NfcA and IsoDep APIs are unfinished
ios.dart
libraryThe
ios.dart
library will contain classes and functions mapped to the Core NFC APIs.To-dooOooOooOoooOoooooOOOoooo
Implementation plan
NfcA
andIsoDep
APIs in theandroid.dart
libraryNFCTagReaderSession
inreadNDEF
NFCTagReaderSession
This issue may be updated at any time.
Work on this will begin shortly because I have finally figured out how to enable the
NFCTagReaderSession
class on iOS. This shall never be spoken about ever again.