You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
*`--copy-to` - Specifies the file path where the built `.apk` will be copied. If it points to a non-existent directory, it will be created. If the specified value is directory, the original file name will be used.
28
28
*`--bundle` - Specifies that the `webpack` bundler will be used to bundle the application.
29
29
*`--env.*` - Specifies additional flags that the bundler may process. May be passed multiple times. For example: `--env.uglify --env.snapshot`.
30
+
*`--aab` - Specifies that the build will produce an Android App Bundle(`.aab`) file.
this.liveSyncCommandHelperAdditionalOptions.syncToPreviewApp=checkEnvironmentRequirementsOutput&&checkEnvironmentRequirementsOutput.selectedOption==="Sync to Playground";
37
40
}
38
-
39
41
returntrue;
40
42
}
41
43
}
@@ -66,14 +68,14 @@ export class RunIosCommand implements ICommand {
@@ -241,3 +243,13 @@ export class BundleValidatorMessages {
241
243
publicstaticMissingBundlePlugin="Passing --bundle requires a bundling plugin. No bundling plugin found or the specified bundling plugin is invalid.";
242
244
publicstaticNotSupportedVersion=`The NativeScript CLI requires nativescript-dev-webpack %s or later to work properly. After updating nativescript-dev-webpack you need to ensure "webpack.config.js" file is up to date with the one in the new version of nativescript-dev-webpack. You can automatically update it using "./node_modules/.bin/update-ns-webpack --configs" command.`;
243
245
}
246
+
247
+
exportclassAndroidBundleValidatorMessages{
248
+
publicstaticAAB_NOT_SUPPORTED_BY_COMMNAND_MESSAGE="This command does not support --aab (Android App Bundle) parameter.";
249
+
publicstaticNOT_SUPPORTED_RUNTIME_VERSION="Android App Bundle (--aab) option requires NativeScript Android Runtime (tns-android) version %s and above.";
250
+
}
251
+
252
+
exportclassAndroidAppBundleMessages{
253
+
publicstaticANDROID_APP_BUNDLE_DOCS_MESSAGE="What is Android App Bundle: https://docs.nativescript.org/tooling/publishing/android-app-bundle";
254
+
publicstaticANDROID_APP_BUNDLE_PUBLISH_DOCS_MESSAGE="How to use Android App Bundle for publishing: https://docs.nativescript.org/tooling/publishing/publishing-android-apps#android-app-bundle";
0 commit comments