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

BLUETOOTH_SCAN permission in Split APK / AAB (QtBluetoothUtility.java)

    XMLWordPrintable

Details

    • Android
    • 13
    • c4f42bd9b (dev), 97145180f (6.9), fba4e3c36 (6.9.0), 7fbf72fd8 (6.8), d57c8bedd (6.8.3)
    • Foundation Sprint 126

    Description

      As part of QTBUG-117356 a detection of the "neverForLocation" flag on the BLUETOOH_SCAN permission was added. This is implemented in QtBluetoothUtility.java

      The code works fine if deployed as APK - but not as AAB distributed via Google Testing.

      Application deployed as APK and started on the device

      Application deployed as AAB to google and distributed via internal testing and the google playstore

      This is the content of our manifest

      Issue was reproducable on the following devices

      • Pixel with Android 15
      • Samsung Galaxy Tab S6 Lite with Android 14 (One UI 6.1)

      Question to vuokko: Could this be the issue? Is the manifest in the same location if distributed via AAB?

      Attachments

        1. AndroidManifest_Base.xml
          5 kB
        2. AndroidManifest_SplitConfigArm64v8a.xml
          0.4 kB
        3. build.gradle
          2 kB
        4. gradle.properties
          0.8 kB
        5. image-2025-02-21-12-26-36-241.png
          image-2025-02-21-12-26-36-241.png
          13 kB
        6. image-2025-02-21-12-27-00-816.png
          image-2025-02-21-12-27-00-816.png
          15 kB
        7. image-2025-02-21-12-27-11-481.png
          image-2025-02-21-12-27-11-481.png
          100 kB
        8. screenshot-1.png
          screenshot-1.png
          6 kB
        9. screenshot-2.png
          screenshot-2.png
          18 kB
        10. screenshot-3.png
          screenshot-3.png
          24 kB
        11. screenshot-4.png
          screenshot-4.png
          14 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            vuokko Juha Vuolle
            michl86 Michael Piendl
            Vladimir Minenko Vladimir Minenko
            Alex Blasche Alex Blasche
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: