This commit is contained in:
Dmytro Ponomarenko 2018-03-14 10:44:26 +02:00
parent 33adc9f0d6
commit fa1304c7c9
2 changed files with 2 additions and 2 deletions

View File

@ -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}