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

Judgment of permissions is not accurate #130

Closed
Angxb4cn opened this issue Aug 28, 2023 · 0 comments
Closed

Judgment of permissions is not accurate #130

Angxb4cn opened this issue Aug 28, 2023 · 0 comments

Comments

@Angxb4cn
Copy link

Library version: 1.5.5
OS version: [Android 11]
Device model: Android Emulator

Describe the bug
When the application has obtained the MANAGE_EXTERNAL_STORAGE permission, use SimpleStorage.hasStorageAccess(context, [dataPath.absolutePath]) to judge that Android/data is always true, regardless of whether the data has read and write permissions.
Using DocumentFileCompat.isStorageUriPermissionGranted(context, StorageId.PRIMARY, [dataPath.absolutePath]) can be correctly judged

To Reproduce
[Explain the steps to reproduce]

Stacktrace
[If applicable]

@Angxb4cn Angxb4cn closed this as not planned Won't fix, can't repro, duplicate, stale Aug 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant