updates
This commit is contained in:
parent
33adc9f0d6
commit
fa1304c7c9
|
@ -3,7 +3,7 @@ import {
|
||||||
Alert
|
Alert
|
||||||
} from 'react-native';
|
} from 'react-native';
|
||||||
import { CameraKitCameraScreen } from 'react-native-camera-kit';
|
import { CameraKitCameraScreen } from 'react-native-camera-kit';
|
||||||
import ExampleScreen from './ExampleScreen';
|
import CheckingScreen from './CheckingScreen';
|
||||||
|
|
||||||
|
|
||||||
export default class CameraScreen extends Component {
|
export default class CameraScreen extends Component {
|
||||||
|
@ -47,7 +47,7 @@ export default class CameraScreen extends Component {
|
||||||
frameColor={"yellow"}
|
frameColor={"yellow"}
|
||||||
|
|
||||||
//onReadCode={((event) => Alert.alert(`Qr code found ${event.nativeEvent.codeStringValue} `))}
|
//onReadCode={((event) => Alert.alert(`Qr code found ${event.nativeEvent.codeStringValue} `))}
|
||||||
onReadCode = {((event) => this.setState({ example: ExampleScreen}))}
|
onReadCode = {((event) => this.setState({ example: CheckingScreen}))}
|
||||||
hideControls={true}
|
hideControls={true}
|
||||||
isNeedMultipleScanBarcode = {true}
|
isNeedMultipleScanBarcode = {true}
|
||||||
// offsetForScannerFrame = {10}
|
// offsetForScannerFrame = {10}
|
||||||
|
|
Loading…
Reference in New Issue