<?xml version="1.0" encoding="utf-8"?>
|
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
xmlns:tools="http://schemas.android.com/tools">
|
<!--允许访问网络,必选权限-->
|
<uses-permission android:name="android.permission.INTERNET" />
|
<application
|
android:allowBackup="true"
|
android:dataExtractionRules="@xml/data_extraction_rules"
|
android:fullBackupContent="@xml/backup_rules"
|
android:icon="@mipmap/ic_launcher"
|
android:label="@string/app_name"
|
android:roundIcon="@mipmap/ic_launcher_round"
|
android:supportsRtl="true"
|
android:theme="@style/Theme.PipIrrApp"
|
android:usesCleartextTraffic="true"
|
tools:targetApi="31">
|
|
|
<activity
|
android:name=".activity.MainActivity"
|
android:exported="true">
|
<intent-filter>
|
<action android:name="android.intent.action.MAIN" />
|
|
<category android:name="android.intent.category.LAUNCHER" />
|
</intent-filter>
|
</activity>
|
<!-- <activity android:name=".activity.MainActivity" />-->
|
<!-- Required since 5.2.0 -->
|
<!-- 新的 tag/alias 接口结果返回需要开发者配置一个自定义的Service -->
|
<!-- 3.3.0开始所有事件将通过该类回调 -->
|
<!-- 5.2.0开始所有事件将通过该类回调 -->
|
<!-- 该广播需要继承 JPush 提供的 JPushMessageService 类, 并如下新增一个 Intent-Filter -->
|
<service
|
android:name=".service.PushService"
|
android:enabled="true"
|
android:exported="false">
|
<intent-filter>
|
<action android:name="cn.jpush.android.intent.SERVICE_MESSAGE" />
|
<category android:name="com.dayu.pipirrapp" />
|
</intent-filter>
|
</service>
|
<!-- Since JCore2.0.0 Required SDK核心功能-->
|
<!-- 可配置android:process参数将Service放在其他进程中;android:enabled属性不能是false -->
|
<!-- 这个是自定义Service,要继承极光JCommonService,可以在更多手机平台上使得推送通道保持的更稳定 -->
|
<service android:name="xx.xx.XService"
|
android:enabled="true"
|
android:exported="false"
|
android:process=":pushcore">
|
<intent-filter>
|
<action android:name="cn.jiguang.user.service.action" />
|
</intent-filter>
|
</service>
|
</application>
|
|
</manifest>
|