Skip to content

Commit fd7a1f7

Browse files
committed
Updated example project to use base64
1 parent 4dfce4d commit fd7a1f7

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Example/index.ios.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ export default class Example extends Component {
4444
{this.state.image ?
4545
<Image style={{ flex: 1, width: 300, height: 200 }} source={{ uri: `data:image/jpeg;base64,${this.state.image}`}} resizeMode="contain" /> :
4646
<Scanner
47+
useBase64
4748
onPictureTaken={data => this.setState({ image: data.croppedImage })}
4849
overlayColor="rgba(255,130,0, 0.7)"
4950
enableTorch={this.state.flashEnabled}

0 commit comments

Comments
 (0)