[iOS][FIX] resend to Flutter all tags, even if there's no NDEF data written#248
Conversation
|
Hello @okadan Cc @dlopez-penbase My project is also facing a similar issue, could you release this patch, thank you so much!!! |
|
+1 |
|
@mvn-quannguyen2-dn @JernejPoligram |
|
Hello, the fix proposed by @dlopez-penbase resolves the similar issue we were experiencing: tags not being detected by the latest version of the library (4.1.1). Here's a log excerpt from when reading an undetected tag, with no errors. |
When NDEF query or read returns an error (e.g. blank NTAG213 tags), return the tag pigeon instead of nil so the tag is still surfaced to Flutter's onDiscovered callback rather than being silently dropped. Ref: okadan#248
PR related to issue #244
I fixed the regression by forcing native code to send data to Flutter no matter what, even if there's no NDEF data inside of them