|
@@ -0,0 +1,496 @@
|
|
|
+<?xml version="1.0" encoding="utf-8"?>
|
|
|
+<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
+ package="com.sheishuo.app">
|
|
|
+
|
|
|
+ <!-- 加入应用需要的权限 -->
|
|
|
+ <!-- 网络相关 -->
|
|
|
+ <uses-permission android:name="android.permission.INTERNET" />
|
|
|
+ <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
|
|
|
+ <uses-permission android:name="android.permission.ACCESS_WIFI_STATE" />
|
|
|
+ <uses-permission android:name="android.permission.CHANGE_WIFI_STATE" />
|
|
|
+ <uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
|
|
|
+ <uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />
|
|
|
+ <uses-permission android:name="android.permission.WRITE_SETTINGS" />
|
|
|
+
|
|
|
+ <!-- 手机状态 -->
|
|
|
+ <uses-permission android:name="android.permission.GET_TASKS" />
|
|
|
+ <uses-permission android:name="android.permission.FLASHLIGHT" />
|
|
|
+ <uses-permission android:name="android.permission.VIBRATE" />
|
|
|
+ <uses-permission android:name="android.permission.WAKE_LOCK" />
|
|
|
+ <uses-permission android:name="android.permission.BLUETOOTH" />
|
|
|
+ <uses-permission android:name="android.permission.BLUETOOTH_ADMIN" />
|
|
|
+ <uses-permission android:name="android.permission.CHANGE_CONFIGURATION" />
|
|
|
+ <uses-permission android:name="android.permission.MODIFY_AUDIO_SETTINGS" />
|
|
|
+
|
|
|
+ <!-- 读写文件 -->
|
|
|
+ <uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
|
|
|
+ <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
|
|
|
+
|
|
|
+ <!-- 多媒体 -->
|
|
|
+ <uses-permission android:name="android.permission.CAMERA" />
|
|
|
+ <uses-permission android:name="android.permission.RECORD_AUDIO" />
|
|
|
+ <uses-permission android:name="android.permission.READ_PHONE_STATE" />
|
|
|
+
|
|
|
+ <!-- SDK权限申明, 第三方APP接入时,请将com.sheishuo.app替换为自己的包名 -->
|
|
|
+ <!-- 和下面的uses-permission一起加入到你的AndroidManifest文件中。 -->
|
|
|
+ <permission
|
|
|
+ android:name="com.sheishuo.app.permission.RECEIVE_MSG"
|
|
|
+ android:protectionLevel="signature" />
|
|
|
+
|
|
|
+ <!-- 接受SDK消息广播权限, 第三方APP接入时,请将com.sheishuo.app替换为自己的包名 -->
|
|
|
+ <uses-permission android:name="com.sheishuo.app.permission.RECEIVE_MSG" />
|
|
|
+
|
|
|
+ <!-- 小米推送 -->
|
|
|
+ <permission
|
|
|
+ android:name="com.sheishuo.app.permission.MIPUSH_RECEIVE"
|
|
|
+ android:protectionLevel="signature" />
|
|
|
+ <uses-permission android:name="com.sheishuo.app.permission.MIPUSH_RECEIVE" />
|
|
|
+
|
|
|
+ <application
|
|
|
+ android:name="com.sheishuo.app.SheishuoApplication"
|
|
|
+ android:allowBackup="true"
|
|
|
+ android:icon="@drawable/ic_logo"
|
|
|
+ android:label="@string/app_name"
|
|
|
+ android:theme="@style/AppTheme.NoActionBar">
|
|
|
+
|
|
|
+ <!-- 如果IDE是Eclipse,此处可将build.gradle中的AMAP_KEY定义拷贝过来。 -->
|
|
|
+ <meta-data
|
|
|
+ android:name="com.amap.api.v2.apikey"
|
|
|
+ android:value="${AMAP_KEY}" />
|
|
|
+
|
|
|
+ <!--7b8c319e77664d91d28520b83840b221-->
|
|
|
+ <meta-data
|
|
|
+ android:name="com.netease.nim.appKey"
|
|
|
+ android:value="7b8c319e77664d91d28520b83840b221" />
|
|
|
+
|
|
|
+ <uses-library
|
|
|
+ android:name="com.google.android.maps"
|
|
|
+ android:required="false" />
|
|
|
+
|
|
|
+ <!--测试Activity-->
|
|
|
+
|
|
|
+ <!-- 登录界面 -->
|
|
|
+ <activity android:name=".login.LoginActivity"/>
|
|
|
+ <activity android:name=".login.LoginAndRegActivity" >
|
|
|
+ <intent-filter>
|
|
|
+ <action android:name="android.intent.action.MAIN" />
|
|
|
+
|
|
|
+ <category android:name="android.intent.category.LAUNCHER" />
|
|
|
+ <category android:name="android.intent.category.MULTIWINDOW_LAUNCHER" />
|
|
|
+ </intent-filter>
|
|
|
+ </activity>
|
|
|
+
|
|
|
+
|
|
|
+ <!-- 导航页 -->
|
|
|
+ <activity
|
|
|
+ android:name=".main.activity.WelcomeActivity"
|
|
|
+ android:configChanges="keyboardHidden|orientation"
|
|
|
+ android:hardwareAccelerated="true"
|
|
|
+ android:label="@string/app_name"
|
|
|
+ android:launchMode="singleTop"
|
|
|
+ android:screenOrientation="portrait"
|
|
|
+ android:theme="@style/WelcomeEntranceActionBarTheme"
|
|
|
+ android:windowSoftInputMode="adjustPan">
|
|
|
+
|
|
|
+ </activity>
|
|
|
+
|
|
|
+ <!-- 主界面 -->
|
|
|
+ <activity
|
|
|
+ android:name="com.sheishuo.app.main.activity.MainActivity"
|
|
|
+ android:configChanges="keyboardHidden|orientation"
|
|
|
+ android:hardwareAccelerated="true"
|
|
|
+ android:launchMode="singleTop"
|
|
|
+ android:screenOrientation="portrait"
|
|
|
+ android:theme="@style/AppTheme.NoActionBar"
|
|
|
+ android:windowSoftInputMode="adjustPan"/>
|
|
|
+
|
|
|
+ <!-- 多端登录管理 -->
|
|
|
+ <activity
|
|
|
+ android:name="com.sheishuo.app.main.activity.MultiportActivity"
|
|
|
+ android:configChanges="keyboardHidden|orientation"
|
|
|
+ android:screenOrientation="portrait"
|
|
|
+ android:theme="@style/AppTheme.NoActionBar"
|
|
|
+ android:windowSoftInputMode="adjustResize|stateHidden"/>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ <!-- 关于 -->
|
|
|
+ <activity
|
|
|
+ android:name="com.sheishuo.app.main.activity.AboutActivity"
|
|
|
+ android:configChanges="orientation"
|
|
|
+ android:label="@string/about"
|
|
|
+ android:screenOrientation="portrait"
|
|
|
+ android:theme="@style/AppTheme.NoActionBar"
|
|
|
+ android:windowSoftInputMode="adjustUnspecified|stateHidden" />
|
|
|
+
|
|
|
+ <activity
|
|
|
+ android:name="com.sheishuo.app.main.activity.SettingsActivity"
|
|
|
+ android:configChanges="orientation"
|
|
|
+ android:screenOrientation="portrait"
|
|
|
+ android:theme="@style/AppTheme.NoActionBar"
|
|
|
+ android:windowSoftInputMode="stateAlwaysHidden" />
|
|
|
+
|
|
|
+ <activity
|
|
|
+ android:name="com.sheishuo.app.main.activity.NoDisturbActivity"
|
|
|
+ android:configChanges="orientation"
|
|
|
+ android:screenOrientation="portrait"
|
|
|
+ android:theme="@style/AppTheme.NoActionBar"
|
|
|
+ android:windowSoftInputMode="adjustUnspecified|stateHidden" />
|
|
|
+
|
|
|
+ <activity
|
|
|
+ android:name="com.sheishuo.app.contact.activity.AddFriendActivity"
|
|
|
+ android:configChanges="orientation"
|
|
|
+ android:screenOrientation="portrait"
|
|
|
+ android:theme="@style/AppTheme.NoActionBar"
|
|
|
+ android:windowSoftInputMode="adjustUnspecified|stateHidden" />
|
|
|
+
|
|
|
+ <activity
|
|
|
+ android:name="com.sheishuo.app.contact.activity.UserProfileActivity"
|
|
|
+ android:configChanges="orientation"
|
|
|
+ android:screenOrientation="portrait"
|
|
|
+ android:theme="@style/AppTheme.NoActionBar"
|
|
|
+ android:windowSoftInputMode="adjustUnspecified|stateHidden" />
|
|
|
+
|
|
|
+ <activity
|
|
|
+ android:name="com.sheishuo.app.contact.activity.UserProfileSettingActivity"
|
|
|
+ android:configChanges="orientation"
|
|
|
+ android:screenOrientation="portrait"
|
|
|
+ android:theme="@style/AppTheme.NoActionBar"
|
|
|
+ android:windowSoftInputMode="adjustUnspecified|stateHidden" />
|
|
|
+
|
|
|
+ <activity
|
|
|
+ android:name="com.sheishuo.app.contact.activity.UserProfileEditItemActivity"
|
|
|
+ android:configChanges="orientation"
|
|
|
+ android:screenOrientation="portrait"
|
|
|
+ android:theme="@style/AppTheme.NoActionBar"
|
|
|
+ android:windowSoftInputMode="adjustUnspecified|stateHidden" />
|
|
|
+
|
|
|
+ <activity
|
|
|
+ android:name="com.sheishuo.app.contact.activity.BlackListActivity"
|
|
|
+ android:configChanges="orientation"
|
|
|
+ android:screenOrientation="portrait"
|
|
|
+ android:theme="@style/AppTheme.NoActionBar"
|
|
|
+ android:windowSoftInputMode="adjustUnspecified|stateHidden" />
|
|
|
+
|
|
|
+ <!-- 文件管理器 -->
|
|
|
+ <activity
|
|
|
+ android:name="com.sheishuo.app.file.browser.FileBrowserActivity"
|
|
|
+ android:configChanges="orientation"
|
|
|
+ android:label="@string/file_browser"
|
|
|
+ android:screenOrientation="portrait"
|
|
|
+ android:theme="@style/AppTheme.NoActionBar"
|
|
|
+ android:windowSoftInputMode="adjustUnspecified|stateHidden" />
|
|
|
+
|
|
|
+ <activity
|
|
|
+ android:name="com.sheishuo.app.main.activity.SystemMessageActivity"
|
|
|
+ android:configChanges="keyboardHidden|orientation"
|
|
|
+ android:screenOrientation="portrait"
|
|
|
+ android:theme="@style/AppTheme.NoActionBar"
|
|
|
+ android:windowSoftInputMode="stateHidden|adjustResize" />
|
|
|
+ <activity
|
|
|
+ android:name="com.sheishuo.app.main.activity.CustomNotificationActivity"
|
|
|
+ android:configChanges="keyboardHidden|orientation"
|
|
|
+ android:screenOrientation="portrait"
|
|
|
+ android:theme="@style/AppTheme.NoActionBar"
|
|
|
+ android:windowSoftInputMode="stateHidden|adjustResize" />
|
|
|
+ <activity
|
|
|
+ android:name="com.sheishuo.app.session.activity.MessageHistoryActivity"
|
|
|
+ android:configChanges="keyboardHidden|orientation"
|
|
|
+ android:screenOrientation="portrait"
|
|
|
+ android:theme="@style/AppTheme.NoActionBar"
|
|
|
+ android:windowSoftInputMode="stateHidden|adjustResize" />
|
|
|
+ <activity
|
|
|
+ android:name="com.sheishuo.app.session.activity.MessageInfoActivity"
|
|
|
+ android:configChanges="keyboardHidden|orientation"
|
|
|
+ android:screenOrientation="portrait"
|
|
|
+ android:theme="@style/AppTheme.NoActionBar"
|
|
|
+ android:windowSoftInputMode="stateHidden|adjustResize" />
|
|
|
+
|
|
|
+ <activity
|
|
|
+ android:name="com.sheishuo.app.team.activity.AdvancedTeamSearchActivity"
|
|
|
+ android:configChanges="keyboardHidden|orientation"
|
|
|
+ android:screenOrientation="portrait"
|
|
|
+ android:theme="@style/AppTheme.NoActionBar"
|
|
|
+ android:windowSoftInputMode="stateHidden|adjustResize" />
|
|
|
+
|
|
|
+ <activity
|
|
|
+ android:name="com.sheishuo.app.team.activity.AdvancedTeamJoinActivity"
|
|
|
+ android:configChanges="keyboardHidden|orientation"
|
|
|
+ android:screenOrientation="portrait"
|
|
|
+ android:theme="@style/AppTheme.NoActionBar"
|
|
|
+ android:windowSoftInputMode="stateHidden|adjustResize" />
|
|
|
+
|
|
|
+ <activity
|
|
|
+ android:name="com.sheishuo.app.main.activity.TeamListActivity"
|
|
|
+ android:configChanges="keyboardHidden|orientation"
|
|
|
+ android:screenOrientation="portrait"
|
|
|
+ android:theme="@style/AppTheme.NoActionBar"
|
|
|
+ android:windowSoftInputMode="stateHidden|adjustPan" />
|
|
|
+
|
|
|
+ <!-- 全局搜索 -->
|
|
|
+ <activity
|
|
|
+ android:name="com.sheishuo.app.main.activity.GlobalSearchActivity"
|
|
|
+ android:configChanges="keyboardHidden|orientation"
|
|
|
+ android:screenOrientation="portrait"
|
|
|
+ android:theme="@style/global_search_bg"
|
|
|
+ android:windowSoftInputMode="stateUnspecified"></activity>
|
|
|
+
|
|
|
+ <activity
|
|
|
+ android:name="com.sheishuo.app.main.activity.GlobalSearchDetailActivity"
|
|
|
+ android:configChanges="keyboardHidden|orientation"
|
|
|
+ android:screenOrientation="portrait"
|
|
|
+ android:theme="@style/AppTheme.NoActionBar"></activity>
|
|
|
+
|
|
|
+ <activity
|
|
|
+ android:name="com.sheishuo.app.main.activity.GlobalSearchDetailActivity2"
|
|
|
+ android:configChanges="keyboardHidden|orientation"
|
|
|
+ android:screenOrientation="portrait"
|
|
|
+ android:theme="@style/AppTheme.NoActionBar"></activity>
|
|
|
+
|
|
|
+ <!-- 查看阅后即焚 -->
|
|
|
+ <activity
|
|
|
+ android:name="com.sheishuo.app.session.activity.WatchSnapChatPictureActivity"
|
|
|
+ android:configChanges="keyboardHidden"
|
|
|
+ android:theme="@style/AppTheme.NoActionBar" />
|
|
|
+
|
|
|
+ <!-- 下载文件 -->
|
|
|
+ <activity
|
|
|
+ android:name="com.sheishuo.app.session.activity.FileDownloadActivity"
|
|
|
+ android:configChanges="keyboardHidden"
|
|
|
+ android:theme="@style/AppTheme.NoActionBar" />
|
|
|
+
|
|
|
+ <!-- map -->
|
|
|
+ <activity
|
|
|
+ android:name="com.sheishuo.app.location.activity.LocationAmapActivity"
|
|
|
+ android:configChanges="keyboardHidden|orientation"
|
|
|
+ android:label="@string/location_map"
|
|
|
+ android:screenOrientation="portrait"
|
|
|
+ android:theme="@style/AppTheme.NoActionBar" />
|
|
|
+ <activity
|
|
|
+ android:name="com.sheishuo.app.location.activity.NavigationAmapActivity"
|
|
|
+ android:configChanges="keyboardHidden|orientation"
|
|
|
+ android:label="@string/location_navigate"
|
|
|
+ android:screenOrientation="portrait"
|
|
|
+ android:theme="@style/AppTheme.NoActionBar" />
|
|
|
+
|
|
|
+ <!-- 音视频 -->
|
|
|
+ <activity
|
|
|
+ android:name="com.sheishuo.app.avchat.activity.AVChatActivity"
|
|
|
+ android:launchMode="singleInstance"
|
|
|
+ android:screenOrientation="portrait"
|
|
|
+ android:theme="@style/FullScreenTheme"
|
|
|
+ android:windowSoftInputMode="stateAlwaysHidden" />
|
|
|
+
|
|
|
+ <activity
|
|
|
+ android:name="com.sheishuo.app.teamavchat.activity.TeamAVChatActivity"
|
|
|
+ android:launchMode="singleInstance"
|
|
|
+ android:screenOrientation="portrait"
|
|
|
+ android:theme="@style/FullScreenTheme"
|
|
|
+ android:windowSoftInputMode="stateAlwaysHidden" />
|
|
|
+
|
|
|
+ <!-- 白板 -->
|
|
|
+ <activity
|
|
|
+ android:name="com.sheishuo.app.rts.activity.RTSActivity"
|
|
|
+ android:launchMode="singleInstance"
|
|
|
+ android:screenOrientation="portrait"
|
|
|
+ android:theme="@style/AppTheme.NoActionBar"
|
|
|
+ android:windowSoftInputMode="stateAlwaysHidden" />
|
|
|
+
|
|
|
+ <!-- 消息历史搜索 -->
|
|
|
+ <activity
|
|
|
+ android:name="com.sheishuo.app.session.search.SearchMessageActivity"
|
|
|
+ android:configChanges="keyboardHidden|orientation"
|
|
|
+ android:screenOrientation="portrait"
|
|
|
+ android:theme="@style/global_search_bg"
|
|
|
+ android:windowSoftInputMode="adjustPan|stateUnspecified" />
|
|
|
+
|
|
|
+ <activity
|
|
|
+ android:name="com.sheishuo.app.session.search.DisplayMessageActivity"
|
|
|
+ android:configChanges="keyboardHidden|orientation"
|
|
|
+ android:screenOrientation="portrait"
|
|
|
+ android:theme="@style/AppTheme.NoActionBar"
|
|
|
+ android:windowSoftInputMode="stateHidden|adjustResize" />
|
|
|
+
|
|
|
+ <!-- 聊天室 -->
|
|
|
+ <activity
|
|
|
+ android:name="com.sheishuo.app.chatroom.activity.ChatRoomActivity"
|
|
|
+ android:screenOrientation="portrait"
|
|
|
+ android:theme="@style/AppTheme.NoActionBar"
|
|
|
+ android:windowSoftInputMode="stateHidden|adjustResize" />
|
|
|
+
|
|
|
+ <activity
|
|
|
+ android:name="com.sheishuo.app.jsbridge.JsBridgeActivity"
|
|
|
+ android:label="@string/js_bridge"
|
|
|
+ android:screenOrientation="portrait"
|
|
|
+ android:theme="@style/AppTheme.NoActionBar"
|
|
|
+ android:windowSoftInputMode="adjustUnspecified|stateHidden" />
|
|
|
+
|
|
|
+ <!-- 机器人 -->
|
|
|
+ <activity
|
|
|
+ android:name="com.sheishuo.app.main.activity.RobotListActivity"
|
|
|
+ android:screenOrientation="portrait"
|
|
|
+ android:theme="@style/AppTheme.NoActionBar" />
|
|
|
+
|
|
|
+ <activity
|
|
|
+ android:name="com.sheishuo.app.contact.activity.RobotProfileActivity"
|
|
|
+ android:screenOrientation="portrait"
|
|
|
+ android:theme="@style/AppTheme.NoActionBar" />
|
|
|
+
|
|
|
+ <!-- NRTC Settings -->
|
|
|
+ <activity
|
|
|
+ android:name="com.sheishuo.app.avchat.activity.AVChatSettingsActivity"
|
|
|
+ android:screenOrientation="portrait" />
|
|
|
+
|
|
|
+ <!-- 声明云信后台服务 -->
|
|
|
+ <service
|
|
|
+ android:name="com.netease.nimlib.service.NimService"
|
|
|
+ android:process=":core" />
|
|
|
+
|
|
|
+ <!-- 运行后台辅助服务 -->
|
|
|
+ <service
|
|
|
+ android:name="com.netease.nimlib.service.NimService$Aux"
|
|
|
+ android:process=":core" />
|
|
|
+
|
|
|
+ <!-- 声明云信后台辅助服务 -->
|
|
|
+ <service
|
|
|
+ android:name="com.netease.nimlib.job.NIMJobService"
|
|
|
+ android:exported="true"
|
|
|
+ android:permission="android.permission.BIND_JOB_SERVICE"
|
|
|
+ android:process=":core" />
|
|
|
+
|
|
|
+ <!-- 云信SDK的监视系统启动和网络变化的广播接收器,用户开机自启动以及网络变化时候重新登录 -->
|
|
|
+ <receiver
|
|
|
+ android:name="com.netease.nimlib.service.NimReceiver"
|
|
|
+ android:exported="false"
|
|
|
+ android:process=":core">
|
|
|
+ <intent-filter>
|
|
|
+ <action android:name="android.intent.action.BOOT_COMPLETED" />
|
|
|
+ <action android:name="android.net.conn.CONNECTIVITY_CHANGE" />
|
|
|
+ </intent-filter>
|
|
|
+ </receiver>
|
|
|
+
|
|
|
+ <!-- 云信进程间通信receiver -->
|
|
|
+ <receiver android:name="com.netease.nimlib.service.ResponseReceiver" />
|
|
|
+
|
|
|
+ <!-- 云信进程间通信service -->
|
|
|
+ <service android:name="com.netease.nimlib.service.ResponseService" />
|
|
|
+
|
|
|
+ <!-- 申明自定义通知的广播接收器,第三方APP集成时,action中的com.sheishuo.app请替换为自己的包名 -->
|
|
|
+ <!-- 需要权限申明 <uses-permission android:name="com.sheishuo.app.permission.RECEIVE_MSG"/> -->
|
|
|
+ <receiver
|
|
|
+ android:name="com.sheishuo.app.receiver.CustomNotificationReceiver"
|
|
|
+ android:enabled="true"
|
|
|
+ android:exported="false">
|
|
|
+ <intent-filter>
|
|
|
+ <action android:name="com.sheishuo.app.ACTION.RECEIVE_CUSTOM_NOTIFICATION" />
|
|
|
+ </intent-filter>
|
|
|
+ </receiver>
|
|
|
+
|
|
|
+ <!-- 申明白板会话的广播接收器,第三方APP集成时,action中的com.sheishuo.app请替换为自己的包名 -->
|
|
|
+ <receiver
|
|
|
+ android:name="com.netease.nimlib.receiver.RTSBroadcastReceiver"
|
|
|
+ android:enabled="true"
|
|
|
+ android:exported="false">
|
|
|
+ <intent-filter>
|
|
|
+ <action android:name="com.sheishuo.app.ACTION.RECEIVE_RTS_NOTIFICATION" />
|
|
|
+ </intent-filter>
|
|
|
+ </receiver>
|
|
|
+
|
|
|
+ <!-- 申明本地电话状态(通话状态)的广播接收器,第三方APP集成时音视频模块时,如果需要在App中处理网络通话与本地电话的交互请加上此接收器 -->
|
|
|
+ <!-- 在Demo的示例代码中是在Application进行了网络通话与本地电话的互斥处理 -->
|
|
|
+ <receiver android:name="com.sheishuo.app.avchat.receiver.IncomingCallReceiver">
|
|
|
+ <intent-filter>
|
|
|
+ <action android:name="android.intent.action.PHONE_STATE" />
|
|
|
+ </intent-filter>
|
|
|
+ </receiver>
|
|
|
+
|
|
|
+ <!-- 小米推送配置 -->
|
|
|
+ <service
|
|
|
+ android:name="com.xiaomi.push.service.XMJobService"
|
|
|
+ android:enabled="true"
|
|
|
+ android:exported="false"
|
|
|
+ android:permission="android.permission.BIND_JOB_SERVICE"
|
|
|
+ android:process=":mixpush" />
|
|
|
+
|
|
|
+ <service
|
|
|
+ android:name="com.xiaomi.push.service.XMPushService"
|
|
|
+ android:enabled="true"
|
|
|
+ android:process=":mixpush" />
|
|
|
+
|
|
|
+ <receiver
|
|
|
+ android:name="com.xiaomi.push.service.receivers.PingReceiver"
|
|
|
+ android:exported="false"
|
|
|
+ android:process=":mixpush">
|
|
|
+ <intent-filter>
|
|
|
+ <action android:name="com.xiaomi.push.PING_TIMER" />
|
|
|
+ </intent-filter>
|
|
|
+ </receiver>
|
|
|
+
|
|
|
+ <receiver
|
|
|
+ android:name="com.xiaomi.push.service.receivers.NetworkStatusReceiver"
|
|
|
+ android:exported="true">
|
|
|
+ <intent-filter>
|
|
|
+ <action android:name="android.net.conn.CONNECTIVITY_CHANGE" />
|
|
|
+
|
|
|
+ <category android:name="android.intent.category.DEFAULT" />
|
|
|
+ </intent-filter>
|
|
|
+ </receiver>
|
|
|
+
|
|
|
+ <service
|
|
|
+ android:name="com.xiaomi.mipush.sdk.PushMessageHandler"
|
|
|
+ android:enabled="true"
|
|
|
+ android:exported="true" />
|
|
|
+
|
|
|
+ <service
|
|
|
+ android:name="com.xiaomi.mipush.sdk.MessageHandleService"
|
|
|
+ android:enabled="true" />
|
|
|
+
|
|
|
+ <receiver
|
|
|
+ android:name="com.netease.nimlib.mixpush.mi.MiPushReceiver"
|
|
|
+ android:exported="true">
|
|
|
+ <intent-filter android:priority="0x7fffffff">
|
|
|
+ <action android:name="com.xiaomi.mipush.RECEIVE_MESSAGE" />
|
|
|
+ <action android:name="com.xiaomi.mipush.MESSAGE_ARRIVED" />
|
|
|
+ <action android:name="com.xiaomi.mipush.ERROR" />
|
|
|
+ </intent-filter>
|
|
|
+ </receiver>
|
|
|
+
|
|
|
+ <!--华为推送配置-->
|
|
|
+
|
|
|
+ <meta-data
|
|
|
+ android:name="com.huawei.hms.client.appid"
|
|
|
+ android:value="100006871" />
|
|
|
+
|
|
|
+ <provider
|
|
|
+ android:name="com.huawei.hms.update.provider.UpdateProvider"
|
|
|
+ android:authorities="com.sheishuo.app.hms.update.provider"
|
|
|
+ android:exported="false"
|
|
|
+ android:grantUriPermissions="true"></provider>
|
|
|
+
|
|
|
+ <!-- 第三方相关 :接收Push消息(注册、Push消息、Push连接状态)广播 -->
|
|
|
+ <receiver android:name="com.netease.nimlib.mixpush.hw.HWPushReceiver">
|
|
|
+ <intent-filter android:priority="0x7fffffff">
|
|
|
+ <!-- 必须,用于接收token -->
|
|
|
+ <action android:name="com.huawei.android.push.intent.REGISTRATION" />
|
|
|
+ <!-- 必须,用于接收消息 -->
|
|
|
+ <action android:name="com.huawei.android.push.intent.RECEIVE" />
|
|
|
+ <!-- 可选,用于点击通知栏或通知栏上的按钮后触发onEvent回调 -->
|
|
|
+ <action android:name="com.huawei.android.push.intent.CLICK" />
|
|
|
+ <!-- 可选,查看push通道是否连接,不查看则不需要 -->
|
|
|
+ <action android:name="com.huawei.intent.action.PUSH_STATE" />
|
|
|
+ </intent-filter>
|
|
|
+ <meta-data
|
|
|
+ android:name="CS_cloud_ablitity"
|
|
|
+ android:value="successRateAnalytics" />
|
|
|
+ </receiver>
|
|
|
+
|
|
|
+ <receiver android:name="com.huawei.hms.support.api.push.PushEventReceiver">
|
|
|
+ <intent-filter>
|
|
|
+ <!-- 接收通道发来的通知栏消息,兼容老版本Push -->
|
|
|
+ <action android:name="com.huawei.intent.action.PUSH" />
|
|
|
+ </intent-filter>
|
|
|
+ </receiver>
|
|
|
+
|
|
|
+ </application>
|
|
|
+
|
|
|
+</manifest>
|