ivpusic / react-native-image-crop-picker

iOS/Android image picker with support for camera, video, configurable compression, multiple images and cropping
MIT License
6.12k stars 1.56k forks source link

back camera from app doesn't open by default, if main camera is set to selfie camera, Android 9 #1029

Open nikitpanchal opened 5 years ago

nikitpanchal commented 5 years ago

Version

Tell us which versions you are using:

Platform

Tell us to which platform this issue is related

Expected behaviour

When opening camera from app it should always open with back camera by default

Actual behaviour

When main camera set to selfie camera, then camera opens from app opens with selfie not with back. And when main camera again set to back then from app it opens back as expected

Steps to reproduce

1.

2.

3.

Attachments

// stacktrace or any other useful debug info

Love react-native-image-crop-picker? Please consider supporting our collective: 👉 https://opencollective.com/react-native-image-crop-picker/donate

nikitpanchal commented 5 years ago

Steps to reproduce 1.Open main Camera from system, set it to front camera

  1. Then open app , then open camera from app it will show front camera.
  2. Minimize app, again set main camera to back camera , then open camera from app it will open back camera
nikitpanchal commented 5 years ago

Please anyone help here ?

jordan2816 commented 2 years ago

same here

Satyajeetsinh-9 commented 1 year ago

@nikitpanchal @jordan2816 @andrey-tsaplin any update on this?

Aakash359 commented 9 months ago

did anyone find the solution to execute this scenario i need to do same with my app like to open the camera bydefault back view