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

Bump WRITE_EXTERNAL_STORAGE to 32 for camera #510

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

grassick
Copy link

PR Type

What kind of change does this PR introduce?

  • Bugfix
  • Feature
  • Code style update (formatting, local variables)
  • Refactoring (no functional changes, no api changes)
  • Documentation changes
  • Other... Please describe:

PR Checklist

For bug fixes / features, please check if your PR fulfills the following requirements:

  • Testing has been carried out for the changes have been added
  • Regression testing has been carried out for existing functionality
  • Docs have been added / updated

What is the purpose of this PR?

requestCameraAuthorization in API 30 requests WRITE_EXTERNAL_STORAGE, however, if it has not already been granted, it fails because maxSdkPermissionMap was set to 29. This prevents new authorizations from being given for camera use in API 30.

I increased it to 32 to allow all API < 33 to work.

Does this PR introduce a breaking change?

  • Yes
  • No

What testing has been done on the changes in the PR?

I have tested it on Android level 9, 11, 12, and 13.

What testing has been done on existing functionality?

I used it to take a picture and otherwise exercise its functionality and nothing else seems to have changed.

Other information

@SidiBecker
Copy link

@dpa99c Crucial fix for us

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

Successfully merging this pull request may close these issues.

None yet

2 participants