Browse Source

feat: 更换打包签名,更换gami应用名

DoggyZhang 3 months ago
parent
commit
a7b15f13e1

+ 9 - 9
app/build.gradle

@@ -58,7 +58,7 @@ android {
     compileSdk libs.versions.compileSdk.get().toInteger()
 
     defaultConfig {
-        applicationId "com.jiehe.lanu"
+        applicationId "com.jiehe.gami"
         minSdk libs.versions.minSdk.get().toInteger()
         targetSdk libs.versions.targetSdk.get().toInteger()
         multiDexEnabled true
@@ -130,16 +130,16 @@ android {
 
     signingConfigs {
         debug {
-            keyAlias "lanu-debug"
-            keyPassword "lanu654321"
-            storePassword "lanu654321"
-            storeFile file('../keystore/debug/lanu-debug.jks')
+            keyAlias "gami"
+            keyPassword "gami654321"
+            storePassword "gami654321"
+            storeFile file('../keystore/debug/gami-debug.jks')
         }
         release {
-            keyAlias "lanu-release"
-            keyPassword "lanu654321"
-            storePassword "lanu654321"
-            storeFile file("../keystore/release/lanu-release.jks")
+            keyAlias "gami"
+            keyPassword "gami654321"
+            storePassword "gami654321"
+            storeFile file("../keystore/release/gami.jks")
         }
     }
 

+ 11 - 18
app/src/debug/google-services.json

@@ -1,49 +1,42 @@
 {
   "project_info": {
-    "project_number": "111172807665",
-    "project_id": "lanu-debug-171d9",
-    "storage_bucket": "lanu-debug-171d9.firebasestorage.app"
+    "project_number": "981655295954",
+    "project_id": "gami-debug-c4559",
+    "storage_bucket": "gami-debug-c4559.firebasestorage.app"
   },
   "client": [
     {
       "client_info": {
-        "mobilesdk_app_id": "1:111172807665:android:f19231a4ca9923c6e2f250",
+        "mobilesdk_app_id": "1:981655295954:android:4443266d74fd033674da0b",
         "android_client_info": {
-          "package_name": "com.jiehe.lanu.debug"
+          "package_name": "com.jiehe.gami.debug"
         }
       },
       "oauth_client": [
         {
-          "client_id": "111172807665-8im51nvocg9nb37d751erstvsbsctjtm.apps.googleusercontent.com",
+          "client_id": "981655295954-1a4a3e5c6fjmf88t59n98fmpgfv7qh5o.apps.googleusercontent.com",
           "client_type": 1,
           "android_info": {
-            "package_name": "com.jiehe.lanu.debug",
-            "certificate_hash": "37acab7290b5c818ec6124a0058293f58d8c30ed"
+            "package_name": "com.jiehe.gami.debug",
+            "certificate_hash": "f8588720e9515dabd8ed0392b6a0ae8f693a9811"
           }
         },
         {
-          "client_id": "111172807665-lfjp1nsh9m7uftpd1r1rnq7a42qqtj1p.apps.googleusercontent.com",
+          "client_id": "981655295954-maihrajbh4h1mv3j118q4a60r4sjcb7d.apps.googleusercontent.com",
           "client_type": 3
         }
       ],
       "api_key": [
         {
-          "current_key": "AIzaSyDW34XRD-Be1csASzrmL1nZzb0p_olfOrE"
+          "current_key": "AIzaSyBzIauk6te0DDMzwKgElVJP5JHidmhPC5I"
         }
       ],
       "services": {
         "appinvite_service": {
           "other_platform_oauth_client": [
             {
-              "client_id": "111172807665-lfjp1nsh9m7uftpd1r1rnq7a42qqtj1p.apps.googleusercontent.com",
+              "client_id": "981655295954-maihrajbh4h1mv3j118q4a60r4sjcb7d.apps.googleusercontent.com",
               "client_type": 3
-            },
-            {
-              "client_id": "111172807665-kq59ppl79227tt6v89j0skp7pemc6qsq.apps.googleusercontent.com",
-              "client_type": 2,
-              "ios_info": {
-                "bundle_id": "com.jiehe.lanu.debug"
-              }
             }
           ]
         }

+ 2 - 2
app/src/main/java/com/adealink/weparty/constant/Flavors.kt

@@ -1,12 +1,12 @@
 package com.adealink.weparty.constant
 
 enum class ProductFlavor(val flavor: String) {
-    LANU("lanu");
+    GAMI("gami");
 
     companion object {
 
         fun map(flavor: String): ProductFlavor {
-            return values().firstOrNull { it.flavor == flavor } ?: LANU
+            return values().firstOrNull { it.flavor == flavor } ?: GAMI
         }
 
         fun isCurrProductLite(): Boolean {

+ 19 - 10
app/src/release/google-services.json

@@ -1,35 +1,44 @@
 {
   "project_info": {
-    "project_number": "345957325655",
-    "project_id": "lanu-9333d",
-    "storage_bucket": "lanu-9333d.firebasestorage.app"
+    "project_number": "981655295954",
+    "project_id": "gami-debug-c4559",
+    "storage_bucket": "gami-debug-c4559.firebasestorage.app"
   },
   "client": [
     {
       "client_info": {
-        "mobilesdk_app_id": "1:345957325655:android:821bfdae887619c7673c12",
+        "mobilesdk_app_id": "1:981655295954:android:4443266d74fd033674da0b",
         "android_client_info": {
-          "package_name": "com.jiehe.lanu"
+          "package_name": "com.jiehe.gami.debug"
         }
       },
       "oauth_client": [
         {
-          "client_id": "345957325655-deqn7bdv0sher0olg0gu2439nv60ksri.apps.googleusercontent.com",
+          "client_id": "981655295954-1a4a3e5c6fjmf88t59n98fmpgfv7qh5o.apps.googleusercontent.com",
           "client_type": 1,
           "android_info": {
-            "package_name": "com.jiehe.lanu",
-            "certificate_hash": "3c486cb298f4538d4f52e50b438f45fee3171032"
+            "package_name": "com.jiehe.gami.debug",
+            "certificate_hash": "f8588720e9515dabd8ed0392b6a0ae8f693a9811"
           }
+        },
+        {
+          "client_id": "981655295954-maihrajbh4h1mv3j118q4a60r4sjcb7d.apps.googleusercontent.com",
+          "client_type": 3
         }
       ],
       "api_key": [
         {
-          "current_key": "AIzaSyAWRI1eNFBslzl1abVALV4YuY55rNk4is4"
+          "current_key": "AIzaSyBzIauk6te0DDMzwKgElVJP5JHidmhPC5I"
         }
       ],
       "services": {
         "appinvite_service": {
-          "other_platform_oauth_client": []
+          "other_platform_oauth_client": [
+            {
+              "client_id": "981655295954-maihrajbh4h1mv3j118q4a60r4sjcb7d.apps.googleusercontent.com",
+              "client_type": 3
+            }
+          ]
         }
       }
     }

+ 4 - 4
keystore.properties

@@ -1,4 +1,4 @@
-storePassword=lanu654321
-keyPassword=lanu654321
-keyAlias=lanu-release
-storeFile=../keystore/release/lanu-release.jks
+storePassword=gami654321
+keyPassword=gami654321
+keyAlias=gami
+storeFile=../keystore/release/gami.jks

BIN
keystore/debug/gami-debug.jks


BIN
keystore/debug/lanu-debug.jks


BIN
keystore/release/gami.jks


BIN
keystore/release/lanu-release.jks


+ 2 - 2
module/account/src/main/java/com/adealink/weparty/account/constant/LoginConstants.kt

@@ -2,8 +2,8 @@ package com.adealink.weparty.account.constant
 
 
 // TODO: zhangfei 补充正式环境clientId
-const val GOOGLE_CLIENT_ID = "111172807665-6pqfdrdtepq2hbqcr0a05tahis6lr4fc.apps.googleusercontent.com"
-const val GOOGLE_CLIENT_ID_DEBUG = "111172807665-6pqfdrdtepq2hbqcr0a05tahis6lr4fc.apps.googleusercontent.com"
+const val GOOGLE_CLIENT_ID = "981655295954-maihrajbh4h1mv3j118q4a60r4sjcb7d.apps.googleusercontent.com"
+const val GOOGLE_CLIENT_ID_DEBUG = "981655295954-maihrajbh4h1mv3j118q4a60r4sjcb7d.apps.googleusercontent.com"
 val fbReadPermissionNeeds = listOf(
     "email", "public_profile"
 )