Open armin23615 opened 4 years ago
RN version: 0.60 @woonivers/react-native-document-scanner: 2.0.1
I have enableTorch={true} but flash doesn't turn on.
<DocumentScanner ref={(ref) => (this.scanner = ref)} style={styles.camera} onPictureTaken={(data) => () => this.props.navigation.replace('ImageScreen', { image: data }) } overlayColor="rgba(162,230,165, 0.7)" enableTorch={true} brightness={0.35} saturation={1} contrast={1.5} quality={1} detectionCountBeforeCapture={60000} detectionRefreshRateInMS={100} />
Any solution on this?
no solution here, just change lib bro, this lib is dead already
RN version: 0.60 @woonivers/react-native-document-scanner: 2.0.1
I have enableTorch={true} but flash doesn't turn on.