差别
这里会显示出您选择的修订版和当前版本之间的差别。
两侧同时换到之前的修订记录 前一修订版 后一修订版 | 前一修订版 后一修订版 两侧同时换到之后的修订记录 | ||
im:android:push:troubleshooting [2019/11/29 04:21] huanxinfudh |
im:android:push:troubleshooting [2020/05/06 07:22] huanxinfudh [小米推送] |
||
---|---|---|---|
行 121: | 行 121: | ||
</receiver> | </receiver> | ||
- | <receiver android:name="com.hyphenate.chatuidemo.receiver.MyxmReceiver"> | + | <receiver android:name="com.hyphenate.push.platform.mi.EMMiMsgReceiver"> |
<intent-filter> | <intent-filter> | ||
<action android:name="com.xiaomi.mipush.RECEIVE_MESSAGE" /> | <action android:name="com.xiaomi.mipush.RECEIVE_MESSAGE" /> | ||
行 194: | 行 194: | ||
4、oppo给8.0系统之后的手机发推送需要设置通道ID,环信这边推送给oppo的时候会加上默认的通道ID:“hyphenate_chatuidemo_notification”,如果需要指定准确的通道ID就需要在消息扩展里去设置 | 4、oppo给8.0系统之后的手机发推送需要设置通道ID,环信这边推送给oppo的时候会加上默认的通道ID:“hyphenate_chatuidemo_notification”,如果需要指定准确的通道ID就需要在消息扩展里去设置 | ||
<code> | <code> | ||
- | // 设置自定义推送提示 | + | // 设置推送通道ID |
JSONObject extObject = new JSONObject(); | JSONObject extObject = new JSONObject(); | ||
try { | try { |