Use '' as default for androidExportType
parent
e54d0a9b4b
commit
4842344c7e
|
|
@ -53,6 +53,7 @@ inputs:
|
||||||
description: '[Deprecated] Use androidExportType instead. Whether to build .aab instead of .apk'
|
description: '[Deprecated] Use androidExportType instead. Whether to build .aab instead of .apk'
|
||||||
androidExportType:
|
androidExportType:
|
||||||
required: false
|
required: false
|
||||||
|
default: ''
|
||||||
description:
|
description:
|
||||||
'The android export type. Should be androidPackage for apk, androidAppBundle for aab, or androidStudioProject for
|
'The android export type. Should be androidPackage for apk, androidAppBundle for aab, or androidStudioProject for
|
||||||
an android studio project.'
|
an android studio project.'
|
||||||
|
|
|
||||||
|
|
@ -7231,9 +7231,9 @@ class Input {
|
||||||
}
|
}
|
||||||
static get androidExportType() {
|
static get androidExportType() {
|
||||||
// TODO: remove this in V3
|
// TODO: remove this in V3
|
||||||
const exportType = Input.getInput('androidExportType');
|
const exportType = Input.getInput('androidExportType') || '';
|
||||||
if (exportType) {
|
if (exportType !== '') {
|
||||||
return exportType || 'androidPackage';
|
return exportType;
|
||||||
}
|
}
|
||||||
return Input.androidAppBundle ? 'androidAppBundle' : 'androidPackage';
|
return Input.androidAppBundle ? 'androidAppBundle' : 'androidPackage';
|
||||||
// End TODO
|
// End TODO
|
||||||
|
|
|
||||||
File diff suppressed because one or more lines are too long
|
|
@ -142,10 +142,10 @@ class Input {
|
||||||
|
|
||||||
static get androidExportType() {
|
static get androidExportType() {
|
||||||
// TODO: remove this in V3
|
// TODO: remove this in V3
|
||||||
const exportType = Input.getInput('androidExportType');
|
const exportType = Input.getInput('androidExportType') || '';
|
||||||
|
|
||||||
if (exportType) {
|
if (exportType !== '') {
|
||||||
return exportType || 'androidPackage';
|
return exportType;
|
||||||
}
|
}
|
||||||
|
|
||||||
return Input.androidAppBundle ? 'androidAppBundle' : 'androidPackage';
|
return Input.androidAppBundle ? 'androidAppBundle' : 'androidPackage';
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue