onBarCodeRead() is never called on Android

I’m using the example from the BarCodeScanner component (BarCodeScanner - Expo Documentation) and everything is working well. When I open the component and grant camera permission, I can see a fullscreen camera working just fine. The problem is that the QR Code is never read because onBarCodeRead() is never called on Android. Works fine on iPhone though.

Device: Huawei P10
Android: 8.0
Expo: ^27.0.1

Any help will be very appreciated!

EDIT: Component is also working fine in a Samsung Galaxy S7 running Android 7.0.

Hello @moisespio , the fix is on it’s way. This should work for you after coming release is out.

1 Like

Is this issue related/the same as the one i posted about?

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.