Skip to content

useFrontCamera is not working in android #1058

@swaroopa94

Description

@swaroopa94

Version

Tell us which versions you are using:

  • react-native-image-crop-picker 0.24.1
  • react-native 0.59.9

Platform

  • Android

Expected behaviour

when using useFrontCamera = true then when we use openCamera method then the front camera should be by default

Actual behaviour

But when we use that useFrontcamera=true in android the default camera is opening instead of front camera

Steps to reproduce

  1. install the module and link

  2. use openCamera method and give useFrontCamera property as true

  3. then in android when we run we can see the default back camera is opening

Attachments

`ImagePicker.openCamera({
mediaType: "video",
useFrontCamera: true
})
.then(image => {
console.log("received image", image);

        })
        .catch(e => alert(e));`

Please anyone help me n solving this..

Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions