Skip to content

Commit

Permalink
Check external properties for "airshipHmsEnabled" additionally (#541)
Browse files Browse the repository at this point in the history
  • Loading branch information
stetbern authored Jan 5, 2024
1 parent f9635dd commit 99b5e00
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down

0 comments on commit 99b5e00

Please sign in to comment.