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

Not working proper in Android 13 #111

Open
nihar89 opened this issue Sep 11, 2023 · 1 comment
Open

Not working proper in Android 13 #111

nihar89 opened this issue Sep 11, 2023 · 1 comment

Comments

@nihar89
Copy link

nihar89 commented Sep 11, 2023

Getting issue in Android 13 device. Though giving permission, in version 13, it is not working . Can you please make it this compatible for Android 13 and up?

@Zhuinden
Copy link

I downloaded the sources for the library, included it in my project as a module, and edited the following line:

GrantPermissions.java:

-             if (permission.granted) {
+            if (permission.granted || "android.permission.READ_EXTERNAL_STORAGE".equals(permission.name)) {

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

2 participants