Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. android runtime Permssion for API 26 or above.

android runtime Permssion for API 26 or above.

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
1 Posts 1 Posters 213 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    samdol
    wrote on last edited by
    #1

    Hi,

    Has anyone succeeded in android runtime permission request for API greater than 26 or above for Qt 5.8 or less?
    I followed the instruction in
    http://www.bytran.org/androidmpermissions.htm

    Which works fine for android:targetSdkVersion="25" or less. but crashes on line
    fragmentTransaction.add(0, request); in RequestPermissions.java

    I cannot use targetSdk 25 because googleStore requires Sdk 32 or above.
    I am not sure why API 26 or above crashes it.

    1 Reply Last reply
    0

    • Login

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Get Qt Extensions
    • Unsolved