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

[image-picker] Skip camera permission on web #8475

Merged
merged 2 commits into from May 26, 2020

Conversation

EvanBacon
Copy link
Contributor

Why

The camera permission is not required on mobile web to take a picture, taking a picture is also not allowed on desktop web apps. This is a needless check.

How

Return default permission granted on web when requesting the image picker camera permission.

Test Plan

NCL

@EvanBacon EvanBacon added Platform: web Using Expo in the browser ImagePicker labels May 25, 2020
@EvanBacon EvanBacon requested a review from brentvatne May 25, 2020 20:00
@EvanBacon EvanBacon self-assigned this May 25, 2020
@github-actions
Copy link
Contributor

Native Component List for this branch is ready

Copy link
Member

@tsapeta tsapeta left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I guess it is a user-facing change, right? If so, please also add appropriate entry to image-picker's changelog 😉

@EvanBacon EvanBacon merged commit 19017ed into master May 26, 2020
@EvanBacon EvanBacon deleted the @evanbacon/image-picker/skip-web-camera-permission branch May 26, 2020 05:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ImagePicker Platform: web Using Expo in the browser
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants