Details
-
Technical task
-
Resolution: Won't Do
-
P2: Important
-
None
Description
When using external storage paths on Android via QStandardPaths, READ/WRITE_EXTERNAL_STORAGE permission should be requested on runtime. This should be done already by the module and not manually by the user.
UPDATE:
Requesting permissions with requestPermissionsSync() could cause the device to hang, the app becomes unresponsive (ANR). The issue is not fixed yet, that's why it's blocking this change to go forward. That's, for the time being, we documented the need to request permissions by the user, if using QStandardPaths::writableLocations() in change https://codereview.qt-project.org/c/qt/qtbase/+/290865.
Attachments
Issue Links
- is required for
-
QTBUG-74975 App freezes after requesting permission
- Open
-
QTBUG-80717 Adapt examples with minor issues to Android
- Closed
For Gerrit Dashboard: QTBUG-81717 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
288214,5 | Android: request external storage permissions when using StandardPaths | 5.15 | qt/qtbase | Status: ABANDONED | -1 | 0 |