-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Android 13 permission related fixes #5299
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
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks a lot, it works great in my manual tests! :-)
Unit tests pass too.
|
||
|
||
public class PermissionUtils { | ||
|
||
public static String[] PERMISSIONS_STORAGE = isSDKVersionScopedStorageCompatible() ? | ||
isSDKVersionTiramisu() ? new String[]{Manifest.permission.READ_MEDIA_AUDIO, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I removed the AUDIO and VIDEO lines here and in the manifest, it works just as well, with all 3 upload methods. :-)
Would you mind removing these from the pull request? Or I can do it after merging this pull request, if you don't have time.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done, please pull the latest changes in this PR
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reinstalled with new changes, it works great.
Thanks Srishti for this brilliant and very fast pull request, just a day after the high priority bug was first reported!
Hi @srishti-R, thank for this fix. I tested latest version from main branch and now I can finally upload pictures from the app with my Android 13 phone. ❤ |
Description (required)
Fixes #5297
What changes did you make and why?
Updated manifest permissions and runtime storage permissions
Tests performed (required)
Tested {build variant, e.g. ProdDebug} on {name of device or emulator} with API level {API level}.
Tested this branch on API 33(android13)
Screenshots (for UI changes only)
Need help? See https://support.google.com/android/answer/9075928
Note: Please ensure that you have read CONTRIBUTING.md if this is your first pull request.