From ddff7ab6c6c8dd8c8f4c46291eb26821cf7d7461 Mon Sep 17 00:00:00 2001 From: "michal@sudolsky.sk" Date: Tue, 20 Apr 2021 15:16:13 +0200 Subject: [PATCH] Fix issue #1630 --- publish/scripts/installer.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/publish/scripts/installer.js b/publish/scripts/installer.js index 5aae77f0..bce09c6f 100755 --- a/publish/scripts/installer.js +++ b/publish/scripts/installer.js @@ -262,7 +262,7 @@ function promptQuestionsResult(result) { writeGoogleServiceGradleHook(result); echoAndroidManifestChanges(result); activateAndroidPushNotificationsLib(isSelected(result.messaging) || isSelected(result.external_push_client_only)); - activateAndroidMLKitCustomModelLib(isSelected(result.ml_kit) && isSelected(result.ml_kit_custom_model)); + activateAndroidMLKitCustomModelLib(isSelected(result.ml_kit) && (isSelected(result.ml_kit_custom_model) || isSelected(result.ml_kit_barcode_scanning))); } console.log('Firebase post install completed. To re-run this script, navigate to the root directory of `nativescript-plugin-firebase` in your `node_modules` folder and run: `npm run config`.');