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

New Bluetooth permissions in Android 12

    XMLWordPrintable

    Details

    • Type: User Story
    • Status: Withdrawn
    • Priority: P1: Critical
    • Resolution: Duplicate
    • Affects Version/s: 5.15.7, 6.2.1, 6.2
    • Fix Version/s: None
    • Labels:
      None
    • Platform/s:
      Android

      Description

      Android 12 introduces 3 more Bluetooth permissions:

      • BLUETOOTH_SCAN
      • BLUETOOTH_CONNECT
      • BLUETOOTH_ADVERTISE

      Those permissions must be declared in the manifest file. What sets them apart from previous permissions is the fact that they have to be requested at runtime. Therefore existing code paths need to be examined on Android to add the right runtime request. Note that this runtime behavior is only triggered if the app targets SDK level 31 or higher.

      More details can be found under:
      https://developer.android.com/guide/topics/connectivity/bluetooth/permissions

        Attachments

          Issue Links

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

            Activity

              People

              Assignee:
              ablasche Alex Blasche
              Reporter:
              ablasche Alex Blasche
              PM Owner:
              Vladimir Minenko Vladimir Minenko
              RnD Owner:
              Alex Blasche Alex Blasche
              Votes:
              2 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Gerrit Reviews

                  There are no open Gerrit changes