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/src/main/AndroidManifest.xml |   28 ++++++++++++++++++++++++----
 1 files changed, 24 insertions(+), 4 deletions(-)

diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml
index f31814f..c9ac2e2 100644
--- a/app/src/main/AndroidManifest.xml
+++ b/app/src/main/AndroidManifest.xml
@@ -55,6 +55,7 @@
     <uses-permission android:name="com.hdl.photovoltaic.permission.JPUSH_MESSAGE" /> <!-- 閫傞厤Android13锛屽脊鍑洪�氱煡蹇呴』鏉冮檺 -->
     <uses-permission android:name="android.permission.POST_NOTIFICATIONS" />
 
+
     <queries>
         <package android:name="com.hdl.photovoltaic.services" />
     </queries>
@@ -66,7 +67,8 @@
         android:label="@string/app_name"
         android:persistent="true"
         android:requestLegacyExternalStorage="true"
-        android:supportsRtl="true"
+        android:supportsRtl="false"
+        tools:replace="android:supportsRtl"
         android:theme="@style/Theme.PhotovoltaicDebug">
         <activity
             android:name=".ui.me.NotificationSettingsActivity"
@@ -168,7 +170,8 @@
             android:exported="false" />
         <activity
             android:name=".ui.BPowerStationActivity"
-            android:exported="false" />
+            android:exported="false"
+           />
         <activity
             android:name=".ui.LoginActivity"
             android:exported="false"
@@ -209,7 +212,7 @@
         <!-- 鍙厤缃產ndroid:process鍙傛暟灏哠ervice鏀惧湪鍏朵粬杩涚▼涓紱android:enabled灞炴�т笉鑳芥槸false -->
         <!-- 杩欎釜鏄嚜瀹氫箟Service锛岃缁ф壙鏋佸厜JCommonService锛屽彲浠ュ湪鏇村鎵嬫満骞冲彴涓婁娇寰楁帹閫侀�氶亾淇濇寔鐨勬洿绋冲畾 -->
         <service
-            android:name=".jpush.JpushService"
+            android:name=".push.jpush.JpushService"
             android:enabled="true"
             android:exported="false"
             android:process=":pushcore">
@@ -221,7 +224,7 @@
         <!-- 5.2.0寮�濮嬫墍鏈変簨浠跺皢閫氳繃璇ョ被鍥炶皟 -->
         <!-- 璇ュ箍鎾渶瑕佺户鎵� JPush 鎻愪緵鐨� JPushMessageService 绫�, 骞跺涓嬫柊澧炰竴涓� Intent-Filter -->
         <service
-            android:name=".jpush.JPushReceiverService"
+            android:name=".push.jpush.JPushReceiverService"
             android:enabled="true"
             android:exported="false">
             <intent-filter>
@@ -244,6 +247,14 @@
         <!-- android:name=".services.ForeService" -->
         <!-- android:enabled="true" -->
         <!-- android:exported="true" /> -->
+        <service
+            android:name=".push.fcm.MyFirebaseMessagingService"
+            android:exported="false">
+            <intent-filter>
+                <action android:name="com.google.firebase.MESSAGING_EVENT" />
+            </intent-filter>
+        </service>
+
         <meta-data
             android:name="design_height_in_dp"
             android:value="812" />
@@ -253,6 +264,15 @@
         <meta-data
             android:name="ScopedStorage"
             android:value="true" />
+        <!--        &lt;!&ndash; 锛堝彲閫夛級搴旂敤缁勪欢涓敤浜庤缃粯璁ら�氱煡鍥炬爣鍜岄鑹茬殑鍏冩暟鎹厓绱犮�傚鏋滀紶鍏ョ殑娑堟伅鏈槑纭缃浘鏍囧拰棰滆壊锛孉ndroid 灏变細浣跨敤杩欎簺鍊笺�� &ndash;&gt;-->
+        <!--        <meta-data-->
+        <!--            android:name="com.google.firebase.messaging.default_notification_icon"-->
+        <!--            android:resource="@drawable/ic_stat_ic_notification" />-->
+        <!--        &lt;!&ndash; Set color used with incoming notification messages. This is used when no color is set for the incoming-->
+        <!--             notification message. See README(https://goo.gl/6BKBk7) for more. &ndash;&gt;-->
+        <!--        <meta-data-->
+        <!--            android:name="com.google.firebase.messaging.default_notification_color"-->
+        <!--            android:resource="@color/colorAccent" />-->
     </application>
 
 </manifest>
\ No newline at end of file

--
Gitblit v1.8.0