集成OPPO推送

This commit is contained in:
huangjian
2020-05-08 15:59:14 +08:00
parent bf1c7b07b3
commit 753d1650cb
2 changed files with 22 additions and 0 deletions

Binary file not shown.

View File

@@ -44,6 +44,9 @@
<uses-feature android:name="android.hardware.camera" />
<uses-feature android:name="android.hardware.camera.autofocus" />
<uses-permission android:name="com.coloros.mcs.permission.RECIEVE_MCS_MESSAGE"/>
<uses-permission android:name="com.heytap.mcs.permission.RECIEVE_MCS_MESSAGE"/>
<!-- 如果需要实时音视频通话模块,下面的权限也是必须的。否则,可以不加 -->
<uses-feature
android:glEsVersion="0x00020000"
@@ -151,6 +154,23 @@
</intent-filter>
</receiver>
<receiver android:name=".reciever.NotificationClickReceiver" /> <!-- 云信进程间通信provider -->
<!-- 云信集成OPPO推送 start -->
<service
android:name="com.netease.nimlib.mixpush.oppo.OppoPushService"
android:permission="com.coloros.mcs.permission.SEND_MCS_MESSAGE">
<intent-filter>
<action android:name="com.coloros.mcs.action.RECEIVE_MCS_MESSAGE"/>
</intent-filter>
</service>
<service
android:name="com.netease.nimlib.mixpush.oppo.OppoAppPushService"
android:permission="com.heytap.mcs.permission.SEND_MCS_MESSAGE">
<intent-filter>
<action android:name="com.heytap.mcs.action.RECEIVE_MCS_MESSAGE"/>
</intent-filter>
</service>
<!-- 云信集成OPPO推送 end -->
<!-- 云信集成小米推送 start -->
<!-- android:authorities="{包名}.ipc.provider", 请将com.netease.nim.demo替换为自己的包名 -->
<provider
@@ -311,6 +331,8 @@
android:name="com.vivo.push.app_id"
android:value="16517" />
<meta-data
android:name="design_width"
android:value="768" />