Hi install @capacitor-mlkit/barcode-scanning and until yesterday it was working on my device Android. Today it stopped working but on other devices it works. Does anyone know what is going on or how I can fix this?
/**
* Check if the Google Barcode Scanner module is available.
*
* Only available on Android.
*
* @since 5.1.0
*/
isGoogleBarcodeScannerModuleAvailable(): Promise<IsGoogleBarcodeScannerModuleAvailableResult>;
/**
* Install the Google Barcode Scanner module.
*
* Attention: This only starts the installation. The googleBarcodeScannerModuleInstallProgress event listener will notify you when the installation is complete.
*
* Only available on Android.
*
* @since 5.1.0
*/
installGoogleBarcodeScannerModule(): Promise<void>;
/**
* Called when the Google Barcode Scanner module is installed.
*
* Available on Android.
*
* @since 5.1.0
*/
addListener(
eventName: 'googleBarcodeScannerModuleInstallProgress',
listenerFunc: (
event: GoogleBarcodeScannerModuleInstallProgressEvent,
) => void,
): Promise<PluginListenerHandle> & PluginListenerHandle;
With those you can check if the Google Barcode Scanner module is available and install it if necessary.