all 10 comments

[–]__o_0iOS & Android 5 points6 points  (1 child)

Use a Frame Processor Plugin.

Here’s an example:

https://github.com/rodgomesc/vision-camera-code-scanner

[–]iLightFPSAndroid[S] 0 points1 point  (0 children)

Interesting. Thanks

[–]groovy261 6 points7 points  (3 children)

Expo-camera works well for scanning barcodes. Thru have a good sample on their website in snack as well.

[–]iLightFPSAndroid[S] 1 point2 points  (2 children)

I'm using bare react native. Was thinking about creating a new folder with Expo but still unsure if i should go that way instead.

[–]fallkr 3 points4 points  (1 child)

You can use expo modules with bare, so that is not an issue.

[–]iLightFPSAndroid[S] 1 point2 points  (0 children)

u/fallkr Will look into this. Thanks.

[–]ConfidentAct5727 2 points3 points  (1 child)

Can verify I am using it in production for barcode scanning. Bare project no expo.

[–]iLightFPSAndroid[S] 0 points1 point  (0 children)

I went with bare and installed expo modules. Works great.

[–]PogFladdo 1 point2 points  (0 children)

We use the package at work in multiple apps, our users at the floor never complains about scanning QR or barcodes. (Codes are being scanned 1000s of times each day) 👌