onNdefFromBackground property
set
onNdefFromBackground
(void handler(NdefMessage message)?)
NDEF messages delivered by iOS background tag reading.
iPhone XS and later read NDEF tags with no app running and no code in the app; the message arrives as a user activity. This only fires when the tag holds a URL that matches one of the app's associated domains. See the README.
Implementation
set onNdefFromBackground(void Function(NdefMessage message)? handler) {
NfcCallbacks.instance.backgroundNdefHandler = handler == null
? null
: (message) => handler(ndefMessageFromWire(message));
}