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

Grant Android runtime permissions to the android bundles

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P2: Important P2: Important
    • 6.11.0 FF
    • 6.11
    • Build System: CMake
    • None
    • Android
    • 4e7b6f2c9 (dev)

      When installing test apks we pass the '-g' flag for apk install command that grants all runtime permissions to the app automatically.

      Android bundletool doesn't have this feature, so need to find a way to grant permissions differently.

      One of the possible solutions is to call:

      adb shell pm grant <apk> <permission>
      

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

            semlanik Alexey Edelev
            semlanik Alexey Edelev
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes