| | |
| | | <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> |
| | |
| | | android:supportsRtl="true" |
| | | 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" |
| | |
| | | android:exported="false" /> |
| | | <activity |
| | | android:name=".ui.BPowerStationActivity" |
| | | android:exported="false" /> |
| | | android:exported="false" |
| | | /> |
| | | <activity |
| | | android:name=".ui.LoginActivity" |
| | | android:exported="false" |
| | |
| | | <!-- 可配置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"> |
| | |
| | | <!-- 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> |
| | |
| | | <!-- 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" /> |
| | |
| | | <meta-data |
| | | android:name="ScopedStorage" |
| | | android:value="true" /> |
| | | <!-- <!– (可选)应用组件中用于设置默认通知图标和颜色的元数据元素。如果传入的消息未明确设置图标和颜色,Android 就会使用这些值。 –>--> |
| | | <!-- <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> |