From 5aa2eb4499b8b22173d39409d6b289fb909e39ac Mon Sep 17 00:00:00 2001 From: Vitor Pamplona Date: Mon, 17 Mar 2025 13:54:57 -0400 Subject: [PATCH] Makes the bechmark build its own package name to facilitate testing in real phones. --- amethyst/build.gradle | 3 ++ amethyst/google-services.json | 29 +++++++++++++++++++ .../src/androidTest/res/values/strings.xml | 3 +- amethyst/src/main/res/values/strings.xml | 3 +- 4 files changed, 36 insertions(+), 2 deletions(-) diff --git a/amethyst/build.gradle b/amethyst/build.gradle index 7ba5f6d39..6977e7632 100644 --- a/amethyst/build.gradle +++ b/amethyst/build.gradle @@ -104,6 +104,9 @@ android { } create("benchmark") { initWith(getByName("release")) + applicationIdSuffix '.benchmark' + versionNameSuffix '-BENCHMARK' + resValue "string", "app_name", "@string/app_name_benchmark" profileable true signingConfig signingConfigs.debug } diff --git a/amethyst/google-services.json b/amethyst/google-services.json index 4a9fa85f5..31ca5e8ec 100644 --- a/amethyst/google-services.json +++ b/amethyst/google-services.json @@ -62,6 +62,35 @@ ] } } + }, + { + "client_info": { + "mobilesdk_app_id": "1:768341258853:android:5d07c35a37b24ff36b8c8c", + "android_client_info": { + "package_name": "com.vitorpamplona.amethyst.benchmark" + } + }, + "oauth_client": [ + { + "client_id": "768341258853-6um8ig59qstvio60gfo60fe5e45lnqqe.apps.googleusercontent.com", + "client_type": 3 + } + ], + "api_key": [ + { + "current_key": "AIzaSyB7ZxgdpgrN6R223HCFdfv4ulP8Egp7trE" + } + ], + "services": { + "appinvite_service": { + "other_platform_oauth_client": [ + { + "client_id": "768341258853-6um8ig59qstvio60gfo60fe5e45lnqqe.apps.googleusercontent.com", + "client_type": 3 + } + ] + } + } } ], "configuration_version": "1" diff --git a/amethyst/src/androidTest/res/values/strings.xml b/amethyst/src/androidTest/res/values/strings.xml index 562719f05..024194479 100644 --- a/amethyst/src/androidTest/res/values/strings.xml +++ b/amethyst/src/androidTest/res/values/strings.xml @@ -1,4 +1,5 @@ Amethyst - Amethyst Debug + Amy Debug + Amy Benchmark \ No newline at end of file diff --git a/amethyst/src/main/res/values/strings.xml b/amethyst/src/main/res/values/strings.xml index 8463b5bbb..86c7b9b0a 100644 --- a/amethyst/src/main/res/values/strings.xml +++ b/amethyst/src/main/res/values/strings.xml @@ -1,6 +1,7 @@ Amethyst - Amethyst Debug + Amy Debug + Amy Benchmark Point to the QR Code Show QR Profile Picture