codeplay-common 4.11.0 → 4.11.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -3669,7 +3669,7 @@ const syncFirebaseAnalyticsPackages = () => {
|
|
|
3669
3669
|
|
|
3670
3670
|
if (analyticsConfig.enabled) {
|
|
3671
3671
|
if (!isPackageAvailable("@capacitor-firebase/analytics") || !isPackageAvailable("firebase")) {
|
|
3672
|
-
runNpmCommand("npm install @capacitor-firebase/analytics
|
|
3672
|
+
runNpmCommand("npm install @capacitor-firebase/analytics");
|
|
3673
3673
|
} else {
|
|
3674
3674
|
console.log("ℹ️ Firebase Analytics packages already installed.");
|
|
3675
3675
|
}
|
package/files/finalrelease
CHANGED
|
@@ -1145,11 +1145,20 @@ rl.question('Enter new versionCode (press enter to keep current): ', (newVersion
|
|
|
1145
1145
|
}
|
|
1146
1146
|
ensureReleaseCodeOptimization();
|
|
1147
1147
|
|
|
1148
|
+
const releaseBuildEnv = { ...process.env };
|
|
1149
|
+
if (_appPackageId === 'resume.generator.cv') {
|
|
1150
|
+
releaseBuildEnv.GRADLE_OPTS = [
|
|
1151
|
+
process.env.GRADLE_OPTS,
|
|
1152
|
+
'-Dorg.gradle.jvmargs="-Xmx4g -XX:MaxMetaspaceSize=1g"',
|
|
1153
|
+
'-Dorg.gradle.workers.max=2',
|
|
1154
|
+
].filter(Boolean).join(' ');
|
|
1155
|
+
}
|
|
1156
|
+
|
|
1148
1157
|
if (buildType === "APK") {
|
|
1149
1158
|
console.log("📦 Using custom Node signing script for APK build...");
|
|
1150
|
-
execFileSync(process.execPath, [join(process.cwd(), 'buildCodeplay', 'apk-store-builder.js')], { stdio: 'inherit' });
|
|
1159
|
+
execFileSync(process.execPath, [join(process.cwd(), 'buildCodeplay', 'apk-store-builder.js')], { stdio: 'inherit', env: releaseBuildEnv });
|
|
1151
1160
|
} else {
|
|
1152
|
-
execSync(`npx cap build android --androidreleasetype=${buildType}`, { stdio: 'inherit' });
|
|
1161
|
+
execSync(`npx cap build android --androidreleasetype=${buildType}`, { stdio: 'inherit', env: releaseBuildEnv });
|
|
1153
1162
|
signReleaseBundleWithSha256();
|
|
1154
1163
|
}
|
|
1155
1164
|
|