Open alz10 opened 6 years ago
it's awsome!!!
@Albert0405 this is awesome! we should definitely add this as part of the examples!
Amazing 💃 it work correctly ... i love it tnq very much 💯
nice, i like it
I am developing a project, which uses qr code reader, your project helped me a lot in the development of the layout of this screen, I leave here my congratulations and thank you. Eduardo / Brazil
how to scan just only the center small area? When we have 2 QR code on the screen, the first one without need to go to the center area is scanned!
Nice!! It's Amazing, Thanks!!@:D
Thanks for sharing the code.
But I found an issue it happens on
<View style={styles.bottomOverlay}>
<TouchableOpacity onPress={() => alert('bottom)}><Text>Click</Text></TouchableOpacity></View>
onPress function won't trigger on Android. ( iOS is working )
I have no idea why.
If just test a code like this it's still not working with yellow background.
<QRCodeScanner
showMarker
onRead={onSuccess}
cameraStyle={{ height: qrCodeHeight }}
customMarker={
<View style={styles.rectangleContainer}>
<View style={{ flex: 1, backgroundColor: 'pink' }} onStartShouldSetResponder={() => alert('1')}><Text style={{ fontSize: 32 }}>1</Text></View>
<View style={{ flex: 1, backgroundColor: 'blue' }} onStartShouldSetResponder={() => alert('2')}><Text style={{ fontSize: 32 }}>2</Text></View>
<View style={{ flex: 1, backgroundColor: 'yellow' }} onStartShouldSetResponder={() => alert('3')}><Text style={{ fontSize: 32 }}>3</Text></View>
</View>
}
/>
Hi @alz10 , I tried this code and it's a nice design but I just need background color black transparent and the marker should be only curved edges, not a full square width with color. Can somebody have that code? Thanks in advance. :)
Nice!! It's Amazing, Thanks ! :D
amazing. It's fantastic. thank you
how to scan just only the center small area? When we have 2 QR code on the screen, the first one without need to go to the center area is scanned!
anyone have solution? i'm stuck with this too
for anyone struggilng with icon not popping up in/after 2022 its probably icon name change ? Changing icon name under Icon as
< name="ios-scan" > worked for me
I just wanna share my custom Qr Code Scanner with scanBar that animates up and down
You need to install this first (Google them because their installation requires linking)
Just change the color, size of the following depending on your needs
Full Code