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

New Bluetooth permissions in Android 12

XMLWordPrintable

    • Icon: User Story User Story
    • Resolution: Duplicate
    • Icon: P1: Critical P1: Critical
    • None
    • 5.15.7, 6.2.1, 6.2
    • None
    • Android

      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

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

            ablasche Alex Blasche
            ablasche Alex Blasche
            Vladimir Minenko Vladimir Minenko
            Alex Blasche Alex Blasche
            Votes:
            2 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes