You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on May 12, 2023. It is now read-only.
Invariant Violation: View config getter callback for component
AndroidProgressBar
must be a function (receivedundefined
).What's happening?
when i use this package, i can't use it when i Authorized camera
How can it be reproduced?
`
import QRCodeScanner from 'react-native-qrcode-scanner';
import {RNCamera} from 'react-native-camera';
return (
<QRCodeScanner
showMarker
ref={node => {
scannerRef.current = node;
}}
containerStyle={{
flexDirection: 'column',
alignItems: 'center',
justifyContent: 'center',
}}
permissionDialogTitle="获取相机权限"
permissionDialogMessage="需要获取相机权限进行扫码"
buttonPositive="允许"
bottomContent={
请扫描学生二维码登录答题界面
}
cameraContainerStyle={{
width: scaleSizeW(326),
height: scaleSizeW(326),
overflow: 'hidden',
}}
cameraStyle={{
width: scaleSizeW(326),
height: scaleSizeW(326),
alignSelf: 'center',
justifyContent: 'center',
}}
customMarker={
<View
style={{
width: scaleSizeW(326),
height: scaleSizeW(326),
}}>
<Animated.View
style={[
styles.spreadLine,
{
transform: [{translateY: top}],
},
]}
/>
}
onRead={onSuccess}
flashMode={RNCamera.Constants.FlashMode.auto}
/>
`
Build details?
my project info
"react-native-qrcode-scanner": "^1.5.5",
"react-native": "0.69.2",
react-native info
The text was updated successfully, but these errors were encountered: