5.2.1,5.2.1.1 已知问题

oppo 推送按照文档集成,无法弹出通知
发布时间: 2022-04-11 16:49

回答:

<uses-permission android:name="com.coloros.mcs.permission.RECIEVE_MCS_MESSAGE"/>

<uses-permission android:name="com.heytap.mcs.permission.RECIEVE_MCS_MESSAGE"/>

<service

        android:name="com.heytap.msp.push.service.CompatibleDataMessageCallbackService"

        android:exported="true"

        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.heytap.msp.push.service.DataMessageCallbackService"

android:exported="true"

android:permission="com.heytap.mcs.permission.SEND_PUSH_MESSAGE" >

<intent-filter>

   <action android:name="com.heytap.mcs.action.RECEIVE_MCS_MESSAGE" />

   <action android:name="com.heytap.msp.push.RECEIVE_MCS_MESSAGE" />

</intent-filter>

</service>

<activity

            android:name="io.rong.push.notification.RongBridgeActivity"

            android:enabled="true"

            android:exported="true"

            android:launchMode="singleInstance"

            android:theme="@android:style/Theme.Translucent.NoTitleBar">

            <intent-filter>

                <action android:name="io.rong.push.notification.RongBridgeActivity"></action>

                <category android:name="android.intent.category.DEFAULT" />

            </intent-filter>

</activity>