Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-104757

Clarify NFC QNearFieldTarget::hasNdefMessage function

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P3: Somewhat important P3: Somewhat important
    • None
    • 6.4
    • Connectivity: NFC
    • None

      The hasNdefMessage is a bit unclear and inconsistent either in documentation and/or implementation.

      Currently the Android backend returns true for all ndef targets, and the iOS returns true if the tag has an NDEF message, but that requires that the messages are read first. While iOS is more in line with the documentation, it may not be that useful if one is required to read messages first in order to know if there are messages; OTOH Android doesn't strictly behave as documented because an NDEF tag with zero messages returns true as well.

      Additional aspect is what is technically possible on each platform / allowed by the underlying APIs.

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            ablasche Alex Blasche
            vuokko Juha Vuolle
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:

                There are no open Gerrit changes