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

Handling Bluetooth Android-12 permissions with the new permission API

XMLWordPrintable

    • Icon: User Story User Story
    • Resolution: Duplicate
    • Icon: P2: Important P2: Important
    • None
    • 6.6.0 FF
    • Core: Other
    • None

      Android 12 (API Level 31) there are three Bluetooth permissions
      BLUETOOTH_SCAN, BLUETOOTH_ADVERTISE, BLUETOOTH_CONNECT

      Intuitively the SCAN + CONNECT together is the default set. Typically one implies the other in a sense that if user is prompted for one permission, requesting the other won't trigger a user dialogue but will be silently granted. But both need to be requested for typical bluetooth usage. ADVERTISE is a bit more specialized, its more for the BT LE peripheral advertising or making the device discoverable to other devices.

      It is probable that adding the support for these permissions is too Android-specific, and a more generic extension mechanism that allows platform-specific permissions is required.

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

            cnn Qt Core & Network
            vuokko Juha Vuolle
            Vladimir Minenko Vladimir Minenko
            Alex Blasche Alex Blasche
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes