The Google Mobile Vision (
com.google.android.gms:play-services-vision) used by the expo-barcode-scanner when operating on Android has been deprecated. Please refer to the following documentation:
According to the above document, the internal implementation of expo-barcode-scanner should be replaced with ML Kit. Indeed, devices that occasionally cannot read barcodes with Google Mobile Vision have begun to appear. The HUAWEI P20 lite I have on hand is one of them.
As there are many devices, like the Pixel 7, that are working properly, I did not file a bug report. However, it is expected that the number of devices experiencing problems will increase in the future. Are there any obstacles to transitioning to ML Kit?