Feature request: Enable `Intent.EXTRA_ALLOW_MULTIPLE` for the Storage Access Framework (SAF) file picker
Author: hoobangerCreated Sep 19, 2026Updated Sep 19, 2026
Labelsenhancement
Currently, the intent used to invoke the system file picker (likely ACTION_OPEN_DOCUMENT or ACTION_GET_CONTENT) forces single-file selection. This creates a severe bottleneck for users who need to upload/add multiple files, as they have to trigger the intent repeatedly for each individual file.
Steps to Reproduce:
- Launch the DashBeam app.
- Trigger the action to add or upload a file, opening the Android system file picker.
- Attempt to long-press a file to initiate multi-selection.
- Expected result: The UI allows selecting additional files and confirming the batch.
- Actual result: The picker instantly selects the single file, returns the URI to the app, and closes the picker.
Proposed Solution:
- Append
.putExtra(Intent.EXTRA_ALLOW_MULTIPLE, true)to the file picker intent payload. - Update the
ActivityResultLauncher(oronActivityResult) implementation to parseintent.clipData(for multiple URIs) in addition to falling back onintent.data(for single URI selection).
Environment:
- Device: [Xiaomi 13T]
- OS: Android [16]
- App Version: [0.7.1]
Source: tonyantony300/dashbeam