You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We were using the plugin in production for a while and we are facing some scenarios in which the download of the barcode module failed (status FAILED = 5) without any reason. We checked Google Play Services is installed and updated in those scenarios and everything was ok.
Looking in the project dependencies we see the model included:
implementation "com.google.mlkit:barcode-scanning:$mlkitBarcodeScanningVersion"
So we were wondering if it is possible to avoid downloading the module on runtime and just used the already included module removing the necessity of play services dependency and resolving this dowload issues:
These are two different SDKs. com.google.mlkit:barcode-scanning is used by the startScan(...) method and is bundled. com.google.android.gms:play-services-code-scanner is used by the scan(...) method and cannot be bundled as far as I know. I'm therefore closing this issue. I recommend using the startScan(...) method in your case.
Plugin(s)
Current problem
We were using the plugin in production for a while and we are facing some scenarios in which the download of the barcode module failed (status FAILED = 5) without any reason. We checked Google Play Services is installed and updated in those scenarios and everything was ok.
Looking in the project dependencies we see the model included:
implementation "com.google.mlkit:barcode-scanning:$mlkitBarcodeScanningVersion"
So we were wondering if it is possible to avoid downloading the module on runtime and just used the already included module removing the necessity of play services dependency and resolving this dowload issues:
implementation "com.google.android.gms:play-services-code-scanner:$playServicesCodeScannerVersion"
Thanks.
Preferred solution
Remove download of barcode module from Google Play Services
Alternative options
No response
Additional context
No response
Before submitting
The text was updated successfully, but these errors were encountered: