mirror of
https://github.com/cocos/cocos4.git
synced 2026-11-21 16:12:40 +08:00
Implementation of google play auto login, achievements, PGS Recall API (#18416)
This commit is contained in:
@@ -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') {
|
||||
|
||||
Reference in New Issue
Block a user