-
Notifications
You must be signed in to change notification settings - Fork 328
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
Enhancement: Start video recording on camera icon clicked when "OnlyVideo" is enabled #411
base: main
Are you sure you want to change the base?
Conversation
… and user clicks on camera icon
imagepicker/src/main/java/com/esafirm/imagepicker/features/ImagePickerComponentsHolder.kt
Outdated
Show resolved
Hide resolved
@esafirm I have updated the code and have added a video icon in the menu bar, please take a look |
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 the PR, overall it's looking good. Need some small changes here and there 😄
Oh and don't forget to rebase as we fix the CI and upgrade the AGP and Kotlin version.
imagepicker/src/main/java/com/esafirm/imagepicker/features/ImagePickerComponentsHolder.kt
Outdated
Show resolved
Hide resolved
imagepicker/src/main/java/com/esafirm/imagepicker/features/ImagePickerConfig.kt
Outdated
Show resolved
Hide resolved
imagepicker/src/main/java/com/esafirm/imagepicker/features/ImagePickerFragment.kt
Outdated
Show resolved
Hide resolved
imagepicker/src/main/java/com/esafirm/imagepicker/features/ImagePickerPresenter.kt
Outdated
Show resolved
Hide resolved
imagepicker/src/main/java/com/esafirm/imagepicker/features/ImagePickerPresenter.kt
Show resolved
Hide resolved
imagepicker/src/main/java/com/esafirm/imagepicker/features/camera/CameraModule.kt
Outdated
Show resolved
Hide resolved
@esafirm, |
Cool @kavitamp just testing the feature in an emulator, but it seems there's an error with the Camera app in it
Will check in the real device later |
@kavitamp anyway, it would be great if you can provide an instrumentation test for this as well. Thanks |
Issue:
When
OnlyVideo
is enabled the camera icon opens in the camera mode instead of the video modeDescription and steps:
When
OnlyVideo
is enabled and the user clicks on the camera icon, it opens the camera instead of the video.Steps:
Expected behavior:
When
OnlyVideo
is enabled and the user clicks on the camera icon, it opens the camera instead of the video.Issue recording:
OnlyVideo-Issue.mp4
Fixed issue recording:
OnlyVideo-Fix.mp4
Please let me know if you have any feedback.
Thank you!
Close #260