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 | 35 +++++++++++++++++++++++++++++------
1 files changed, 29 insertions(+), 6 deletions(-)
diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml
index aaecda6..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,13 +67,17 @@
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.message.MessageActivity"
+ android:name=".ui.me.NotificationSettingsActivity"
android:exported="false" />
<activity
- android:name=".ui.message.PowerStationMessageSearchActivity"
+ android:name=".ui.message.SearchMessageHouseActivity"
+ android:exported="false" />
+ <activity
+ android:name=".ui.message.MessageActivity"
android:exported="false" />
<activity
android:name=".ui.me.HelpWebActivity"
@@ -165,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"
@@ -206,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">
@@ -218,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>
@@ -241,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" />
@@ -250,6 +264,15 @@
<meta-data
android:name="ScopedStorage"
android:value="true" />
+ <!-- <!– 锛堝彲閫夛級搴旂敤缁勪欢涓敤浜庤缃粯璁ら�氱煡鍥炬爣鍜岄鑹茬殑鍏冩暟鎹厓绱犮�傚鏋滀紶鍏ョ殑娑堟伅鏈槑纭缃浘鏍囧拰棰滆壊锛孉ndroid 灏变細浣跨敤杩欎簺鍊笺�� –>-->
+ <!-- <meta-data-->
+ <!-- android:name="com.google.firebase.messaging.default_notification_icon"-->
+ <!-- android:resource="@drawable/ic_stat_ic_notification" />-->
+ <!-- <!– 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. –>-->
+ <!-- <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