Skip to content
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

StorageSheet Folder Location #99

Open
irvine752 opened this issue Dec 7, 2021 · 1 comment
Open

StorageSheet Folder Location #99

irvine752 opened this issue Dec 7, 2021 · 1 comment
Labels
bug Something isn't working help wanted Extra attention is needed

Comments

@irvine752
Copy link

I just noticed an issue when I was using the Storage Sheet. It seems to be stuck on this folder -> "/storage/emulated/0/". I can't seem to get any other folder or navigate to some other folder. I did give storage permission to the App.

I'm currently using a Samsung device with an SD Card. I was also using the sample.apk under the sample folder.

@irvine752 irvine752 added the bug Something isn't working label Dec 7, 2021
@maxkeppeler maxkeppeler added the help wanted Extra attention is needed label Feb 13, 2022
@enricocid
Copy link
Contributor

enricocid commented Feb 20, 2022

Adding android:requestLegacyExternalStorage="true" to manifest (application level) "fixes" the issue.

Currently directory.listFiles() returns an empty list on Android 10 and above because of the scoped storage enforcement.

I don't know if this can help, but You can "Use the ACTION_MANAGE_ALL_FILES_ACCESS_PERMISSION intent action to direct users to a system settings page where they can enable the following option for your app: Allow access to manage all files."

https://developer.android.com/training/data-storage/manage-all-files#all-files-access

See modern storage API too

https://google.github.io/modernstorage/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

3 participants