contactlutforrahman / flutter_qr_bar_scanner

A full screen mobile scanner for scanning QR Code and Bar Code.
MIT License
33 stars 69 forks source link

Possible conflict with ml_kit and Image Recognition #39

Closed vladaman closed 2 years ago

vladaman commented 2 years ago

Once we added in the google_ml_kit dependency and started to use Image Recognition the barcode reader stopped working. It shows camera preview but it will not detect any QR code.

I also found there is different meta options mlkit vs gms in AndroidManifest - what is the proper way to override this in our Manifest?

 <meta-data
                android:name="com.google.mlkit.vision.DEPENDENCIES"
                android:value="ica,barcode,ocr"
                tools:replace="android:value" />

            <meta-data
                android:name="com.google.android.gms.vision.DEPENDENCIES"
                android:value="ica,barcode,ocr"
                tools:replace="android:value" />
vladaman commented 2 years ago

Not an issue, It was bug elsewhere