spacedrive
spacedrive copied to clipboard
MANAGE_EXTERNAL_STORAGE locations not addable on Mobile
Describe the bug
Users cannot add locations locked on Android behind MANAGE_EXTERNAL_STORAGE for some reason using DocumentPicker. This issue is for a PR which helps to get this working.
For some reason, Apple allows you to add these folders easily.
Reproduction
- Give Spacedrive MANAGE_EXTERNAL_STORAGE permission using ADB
- Open Spacedrive on Android
- Click Add Location
- Try to select Download or any other protected folder
Expected behavior
File Explorer doesn't allow user to add folder as they are protected folders for privacy reasons.
Platform and versions
8.10.2
cargo 1.73.0 (9c4383fb5 2023-08-26)
rustc 1.73.0 (cc66ad468 2023-10-03)
Android 14 (One UI 6)
Stack trace
No response
Additional context
No response