react-native-qrcode-scanner icon indicating copy to clipboard operation
react-native-qrcode-scanner copied to clipboard

Camera IOS is black

Open lamlengend98 opened this issue 3 years ago • 2 comments

My Camera is sometimes appearred, sometimes not, permission camera is granted on my IOS device somebody helps me this case

"react-native-qrcode-scanner": "^1.5.4" "react-native-permissions": "^3.0.5" "react-native-camera": "^4.2.1" "react-native": "0.64.0"

     <QRCodeScanner
        containerStyle={styles.containerStyle}
        cameraStyle={[styles.cameraStyle]}
        markerStyle={{
          borderColor: '#fff',
          height: scale(200),
          width: scale(200),
        }}
        reactivate={true}
        showMarker={true}
        onRead={onSuccess}
        cameraType="back"
        topContent={
          <Text style={styles.centerText}>
            Go to{' '}
            <Text style={styles.textBold}>wikipedia.org/wiki/QR_code</Text> on
            your computer and scan the QR code.
          </Text>
        }
        bottomContent={
          <Touchable style={styles.buttonTouchable}>
            <Text style={styles.buttonText}>OK. Got it!</Text>
          </Touchable>
        }
      />

lamlengend98 avatar Nov 24 '21 11:11 lamlengend98

same problem, android works, ios doesn't

luan-nvg avatar Aug 04 '22 22:08 luan-nvg

This will help you https://www.youtube.com/watch?v=sE0MEyFA7E4&list=PLQhQEGkwKZUrempLnmxjt7ZCZJu1W3p2i&index=10

BraveEvidence avatar Feb 25 '23 14:02 BraveEvidence