-
Notifications
You must be signed in to change notification settings - Fork 153
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG] SD Card not appearing in overview dialog on Android 11 #134
Comments
From what I can tell, this line Line 249 in 9bc33eb
only gets the |
I've got this working in my fork of this repo, so the SD card appears on Android 11+ now.
If anyone wants to use it as well,
I'm checking for the SD card by parsing the getExternalFilesDirs output, because the |
Describe the bug
When using the patched version of the library here, I've noticed that the storage choosing dialog doesn't show the SD card, it will just show the Internal Storage.
I've even given the app the
MANAGE_EXTERNAL_STORAGE
permission.It works fine on Android 29, the SD card appears.
Has anyone found a way around this, or do they know what's missing?
To Reproduce
Use the patched version of the library here.
Create an emulator for Android API level 30, ensure that it has an SD card
Open the storage chooser.
Only 'internal storage' appears.
Expected behavior
SD card should also appear
Screenshots
![image](https://user-images.githubusercontent.com/746276/133964816-7365274a-0fdd-4ec2-b066-436be34a48bf.png)
Smartphone (please complete the following information):
The text was updated successfully, but these errors were encountered: