onBarCodeRead() is never called on Android


#1

I’m using the example from the BarCodeScanner component (https://docs.expo.io/versions/latest/sdk/bar-code-scanner) 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.


#2

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


#3

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


closed #4

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