images
|
@ -35,8 +35,10 @@ import {RkButton,
|
|||
|
||||
this.setState({code:e.data});
|
||||
this.props.scanQrCode({UserQR:this.props.user.Code, ScanQR: e.data},this.props.internalToken);
|
||||
|
||||
|
||||
|
||||
setTimeout(()=> this.scanner.reactivate(),
|
||||
2000
|
||||
)
|
||||
};
|
||||
|
||||
state = {
|
||||
|
@ -79,7 +81,7 @@ import {RkButton,
|
|||
showMarker={true}
|
||||
|
||||
cameraStyle={{ height: SCREEN_HEIGHT }}
|
||||
|
||||
|
||||
fadeIn={true}
|
||||
|
||||
|
||||
|
|
|
@ -68,7 +68,7 @@ export function scanQrCode(data, tokenInternal) {
|
|||
})
|
||||
.catch(err => {
|
||||
console.log(err);
|
||||
Alert.alert("ERRO!", "Existiu um no scan do QRCode");
|
||||
Alert.alert("ERRO!", "Existiu um erro no scan do QRCode\nOu esse QR code não existe ou já tens o cromo conquistado.");
|
||||
});
|
||||
};
|
||||
}
|
||||
|
|
After Width: | Height: | Size: 265 KiB |
After Width: | Height: | Size: 262 KiB |
After Width: | Height: | Size: 263 KiB |
After Width: | Height: | Size: 266 KiB |
After Width: | Height: | Size: 267 KiB |
After Width: | Height: | Size: 260 KiB |
After Width: | Height: | Size: 262 KiB |
After Width: | Height: | Size: 262 KiB |
After Width: | Height: | Size: 264 KiB |
After Width: | Height: | Size: 264 KiB |
Before Width: | Height: | Size: 353 B |
Before Width: | Height: | Size: 22 KiB |
Before Width: | Height: | Size: 326 KiB |
Before Width: | Height: | Size: 1.3 KiB |
Before Width: | Height: | Size: 23 KiB |
Before Width: | Height: | Size: 22 KiB |
Before Width: | Height: | Size: 24 KiB |