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

CB-13781: (android) Fixed permissions request on Android 8 to save a … #308

Merged
merged 1 commit into from
Jan 15, 2018

Conversation

rpanadero
Copy link
Contributor

@rpanadero rpanadero commented Jan 15, 2018

…photo into the photo album

Platforms affected

Android

What does this PR do?

It fixes a issue managing permissions on Android 8 when a photo wants to be saved into the photo album.

The plugin is requesting both WRITE and READ permissions, if they are not accepted yet, before taking a photo by the device camera.

What testing has been done on this change?

The changed has been tested on multiple Android devices both with Android 8 and with Android 7-.
As for example

Checklist

  • Reported an issue in the JIRA database
  • Commit message follows the format: "CB-3232: (android) Fix bug with resolving file paths", where CB-xxxx is the JIRA ID & "android" is the platform affected.
  • Added automated test coverage as appropriate for this change.

@infil00p
Copy link
Member

Not sure why iOS failed, since you didn't touch it, but yeah, this looks good to me and I can repo the bug, so I'll merge this in once I test locally.

@infil00p infil00p merged commit 4b99623 into apache:master Jan 15, 2018
@rpanadero rpanadero deleted the android8_permission_request_fix branch January 16, 2018 07:44
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.

2 participants