wjc
17 小时以前 2f5411b86c59706d31f6ec7de629d8f860725e46
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>
@@ -168,7 +169,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 +211,7 @@
        <!-- 可配置android:process参数将Service放在其他进程中;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 +223,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 +246,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 +263,15 @@
        <meta-data
            android:name="ScopedStorage"
            android:value="true" />
        <!--        &lt;!&ndash; (可选)应用组件中用于设置默认通知图标和颜色的元数据元素。如果传入的消息未明确设置图标和颜色,Android 就会使用这些值。 &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>