Skip to content
This repository was archived by the owner on Apr 4, 2023. It is now read-only.

Commit d7a4e67

Browse files
Support Android X #1220
1 parent ff7faa2 commit d7a4e67

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

publish/scripts/installer.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,9 @@ const supportsIOSModernBuildSystem = tnsVersionFull.indexOf("5.2.0-") > -1 || se
1212
// Custom gradle buildscripts are supported from NativeScript-Android version 5.3.0 (TODO this actually checks the CLI version)
1313
const supportsGradleBuildscripts = tnsVersionFull.indexOf("5.3.0-") > -1 || semver.gte(tnsVersionFull, "5.3.0");
1414

15+
// TODO use this when writing stuff like 'com.android.support' below, because {N} 6 will have to use AndroidX
16+
const supportsAndroidX = semver.gte(tnsVersionFull, "6.0.0");
17+
1518
if (!supportsIOSModernBuildSystem) {
1619
console.log(`You're using NativeScript ${tnsVersionFull}.. which doesn't support the latest Firestore and in-app-messaging SDKs. Upgrade NativeScript to at least 5.2.0 if you need those!\n\n`);
1720
}

0 commit comments

Comments
 (0)