From 99b5e0026bb28d1667c90b9e23f5ac9a361a7cd3 Mon Sep 17 00:00:00 2001 From: Stefan Berndt <104437822+stetbern@users.noreply.github.com> Date: Fri, 5 Jan 2024 21:59:32 +0100 Subject: [PATCH] Check external properties for "airshipHmsEnabled" additionally (#541) --- android/build.gradle | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/android/build.gradle b/android/build.gradle index b493e0c4..5eef89be 100644 --- a/android/build.gradle +++ b/android/build.gradle @@ -21,7 +21,7 @@ def isNewArchitectureEnabled() { } def isHmsEnabled() { - return rootProject.hasProperty("airshipHmsEnabled") && rootProject.getProperty("airshipHmsEnabled") == "true" + return (rootProject.hasProperty("airshipHmsEnabled") && rootProject.getProperty("airshipHmsEnabled") == "true") || (rootProject.ext.has("airshipHmsEnabled") && rootProject.ext.get("airshipHmsEnabled") == "true") } def resolveReactNativeDirectory() {