ml-kit - barcode-scanning android - Google code scanner
06:47 01 Jun 2023

I am using Google code scanner Android MLKit for Barcode scanning. I am using below dependencies. I want the use bundled model so that initialisation time is not taken when app is launched. Is there a way can I use bundled version of model :

Please find below dependencies I used for this :

implementation 'com.google.android.gms:play-services-code-scanner:16.0.0'

AndroidManifest:


When I used the above dependencies, I see below exception during downloading the model:

Waiting for the Barcode UI module to be downloaded.

Is there a way can I use bundled version of model so that I need not wait for Barcode UI module to be downloaded?

android kotlin barcode-scanner google-mlkit