-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
[android][image-picker] Support for cameraType #22143
Conversation
- Added support for cameraType on android - Updated types to include cameraType - Documented the undocumented cameraType
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 for your contribution 🏅
...expo-image-picker/android/src/main/java/expo/modules/imagepicker/contracts/CameraContract.kt
Outdated
Show resolved
Hide resolved
Co-authored-by: Łukasz Kosmaty <kosmatylukasz@gmail.com>
Co-authored-by: Łukasz Kosmaty <kosmatylukasz@gmail.com>
Please fix |
@lukmccall Done! Retry the test when you get the chance. |
@lukmccall You can retry the test now and all should be good. |
All that's missing now is a final review |
Why
cameraType
option was missing for android, and only implemented in iOS.cameraType
were missingHow
Intent
extras that tell the camera app which camera to use by defaultCameraType
similarly to how expo-camera currently implements it for consistency. (Maybe should be a shared type?)Test Plan
bare-expo
app on Androidexpo-image-picker
and launched the camera with different values forcameraType
Checklist
expo prebuild
& EAS Build (eg: updated a module plugin).