This repository was archived by the owner on Jun 16, 2023. It is now read-only.

Description
Bug Report
To Do First
Platforms
iOS
Versions
2.6.0
- Android:
- iOS:12.2
- react-native-camera:2.6.0
- react-native:0.59.5
Description/Current Behaviour
front camera show black screen with type RNCamera.Constants.Type.front
<RNCamera
ref={ref => {
this.camera = ref;
}}
style={styles.face_preview}
type={RNCamera.Constants.Type.front}
flashMode={RNCamera.Constants.FlashMode.off}
androidCameraPermissionOptions={{
title: 'Permission to use camera',
message: 'We need your permission to use your camera',
buttonPositive: 'Ok',
buttonNegative: 'Cancel',
}}
androidRecordAudioPermissionOptions={{
title: 'Permission to use audio recording',
message: 'We need your permission to use your audio',
buttonPositive: 'Ok',
buttonNegative: 'Cancel',
}}
onGoogleVisionBarcodesDetected={({ barcodes }) => {
console.log(barcodes);
}}
/>