From 8b43d4e1190fc9e2261be0579e53cc6c2987f946 Mon Sep 17 00:00:00 2001
From: wjc <1243177876@qq.com>
Date: 星期四, 27 十一月 2025 19:37:56 +0800
Subject: [PATCH] 2025年11月27日19:37:50 备份代码

---
 app/build.gradle |   23 +++++++++++++++++------
 1 files changed, 17 insertions(+), 6 deletions(-)

diff --git a/app/build.gradle b/app/build.gradle
index 3ae6ffc..bec48fa 100644
--- a/app/build.gradle
+++ b/app/build.gradle
@@ -3,6 +3,7 @@
     // 娣诲姞濡備笅閰嶇疆(鍗庝负鏋佸厜鎺ㄩ��)
     id 'com.huawei.agconnect'
 }
+apply plugin: 'com.google.gms.google-services' // 鏀惧湪鏂囦欢搴曢儴
 //蹇呴』閰嶇疆uni
 def mfph = [
         //瀹夸富鍖呭悕
@@ -24,13 +25,13 @@
             keyPassword '85521566'
         }
     }
-    compileSdk 34
+    compileSdk 35
     defaultConfig {
         applicationId "com.hdl.photovoltaic"
         minSdk 23
-        targetSdk 34
-        versionCode 15
-        versionName "1.3.1"//鐗堟湰瑙勫垯1.3鏄骇鍝佸姛鑳借凯浠g敤鐨�,鏈�鍚庝竴浣�0鏄垜浠慨澶峛ug鐢ㄧ殑
+        targetSdk 35
+        versionCode 20
+        versionName "2.0"//鐗堟湰瑙勫垯1.3鏄骇鍝佸姛鑳借凯浠g敤鐨�,鏈�鍚庝竴浣�0鏄垜浠慨澶峛ug鐢ㄧ殑
         testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
         multiDexEnabled true
         manifestPlaceholders = mfph
@@ -90,7 +91,7 @@
      */
     android.applicationVariants.configureEach { variant ->
         variant.outputs.configureEach {
-            outputFileName = "photovoltaic_v${versionName}_${generateTime()}_${getEnvironmentVersion(4)}.apk"
+            outputFileName = "photovoltaic_v${versionName}_${generateTime()}_${getEnvironmentVersion(2)}.apk"
         }
     }
 
@@ -153,7 +154,7 @@
     //浜岀淮鐮佸簱
     implementation project(path: ':third-zxing')
     //Link鏈湴搴擄紙鍦ㄧ嚎渚濊禆缃戠粶搴擄級
-    implementation 'com.hdl.android:pmsdk:1.0.11'
+    implementation 'com.hdl.android:pmsdk:1.0.18'
 //    implementation 'com.hdl.android:debugsdk:1.0.71'
     implementation project(path: ':sdk')
     implementation 'androidx.activity:activity:1.2.3'
@@ -218,6 +219,16 @@
     implementation 'com.umeng.umsdk:common:9.5.6'// 蹇呴��
     implementation 'com.umeng.umsdk:asms:1.6.3'// 蹇呴��
     implementation 'com.umeng.umsdk:apm:1.7.0' // 閿欒鍒嗘瀽
+    //寮曞叆FCM锛堝師鐢熻胺姝岋級
+    implementation 'com.google.firebase:firebase-messaging:23.2.1'
+
+    // 寮曞叆FCM
+    implementation 'com.google.firebase:firebase-messaging:23.0.0' // 浣跨敤鏈�鏂扮増鏈�
+    // 浣跨敤 ShortcutBadger 搴擄紝娓呴櫎瑙掓爣
+    implementation 'me.leolin:ShortcutBadger:1.1.22@aar'
+
+//    // 鍙�夛細濡傛灉浣犻渶瑕佸鐞嗗悗鍙版秷鎭紝鍙兘闇�瑕佷互涓嬩緷璧�
+//    implementation 'com.google.firebase:firebase-analytics:21.0.0'
 
 //    // 鎺ュ叆 FCM 鍘傚晢
 //    implementation 'com.google.firebase:firebase-messaging:23.1.2'

--
Gitblit v1.8.0