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

[iOS] Document the fact that UDP broadcasts require special entitlements

XMLWordPrintable

    • iOS/tvOS/watchOS

      It is not intuitive/obvious that performing a broadcast requires https://developer.apple.com/documentation/bundleresources/entitlements/com_apple_developer_networking_multicast because:

      • The entitlement name refers to "multicast", while we wanted to do a broadcast. Users might think that they don't need this simply because they don't call QUdpSocket::joinMulticastGroup()
      • When running the "Broadcast Sender Example" on iOS, the user does get asked for networking permissions. This gives the impression that the required permissions have been granted, so it is not obvious why the broadcasted messages are not received by other devices.
      • The "Broadcast Sender Example" works fine on the iOS Simulator without any special entitlements, but not on a real iOS device. This might lead the user to think that something is wrong with their real device.

       

      See QTBUG-119331 for an example of confusion caused by the points above.

      Therefore, it would be very helpful for us to mention this entitlement in our documentation. Good places to document this might be:

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

            docteam Qt Documentation Team
            skoh-qt Sze Howe Koh
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:

                There are no open Gerrit changes