Implementation of google play auto login, achievements, PGS Recall API (#18416)

This commit is contained in:
qiuguohua
2025-03-09 23:34:12 +08:00
committed by GitHub
parent 9d51fe2c54
commit f80ca2cceb
47 changed files with 2438 additions and 284 deletions
@@ -50,6 +50,7 @@ export interface IAndroidParams {
appBundle: boolean;
resizeableActivity: boolean;
googleBilling: boolean;
playGames: boolean;
customIconInfo: ICustomIconInfo,
}
@@ -404,7 +405,7 @@ export class GooglePlayPackTool extends NativePackTool {
content = content.replace(/NATIVE_DIR=.*/, `NATIVE_DIR=${cchelper.fixPath(this.paths.platformTemplateDirInPrj)}`);
content = content.replace(/PROP_ENABLE_GOOGLE_BILLING=.*/, `PROP_ENABLE_GOOGLE_BILLING=${options.googleBilling ? "true" : "false"}`);
content = content.replace(/PROP_ENABLE_GOOGLE_PLAY_GAMES=.*/, `PROP_ENABLE_GOOGLE_PLAY_GAMES=${options.playGames ? "true" : "false"}`);
if (process.platform === 'win32') {