esafirm/android-image-picker

Enhancement: Start video recording on camera icon clicked when "OnlyVideo" is enabled

kavitamp opened this issue · 1 comments

Expected Behavior

When OnlyVideo is enabled and the user clicks on the camera icon, it opens the camera instead of the video. Video mode should be open.

Actual Behavior

When OnlyVideo is enabled the camera icon opens in the camera mode instead of the video mode

Steps to Reproduce the Problem

When OnlyVideo is enabled and the user clicks on the camera icon, it opens the camera instead of the video.
Steps:

  1. Enable "Only Video" mode
  2. Click on any video picker functionality
  3. Click on the camera icon
  4. The picture mode is displayed instead of the video mode

Issue recording:

OnlyVideo-Issue.mp4

Specifications

  • Image Picker Version:
  • Android OS: 13
  • Phone: OnePlus

@esafirm I have fixed the enhancement is in #411 PR, please have a look.
Thanks!