注册

客户端接收不到消息,log打印这些,求教

06-02 22:48:43.729 11108-11162/com.gongkong D/ONE SDK: [2016/6/2 22:48:43:739]: log: level: 1, area: 1, RECV:
                                                       { verison : MSYNC_V1, command : NOTICE, payload : { queue : admin } }
06-02 22:48:43.729 11108-11162/com.gongkong D/ONE SDK: [2016/6/2 22:48:43:739]: log: level: 1, area: 1, SEND:
                                                       { verison : MSYNC_V1, compress_algorimth : 0, command : SYNC, payload : { queue : admin } }
06-02 22:48:43.749 11108-11162/com.gongkong D/ONE SDK: [2016/6/2 22:48:43:755]: log: level: 1, area: 1, RECV:
                                                       { verison : MSYNC_V1, command : SYNC, payload : { status : { error_code : 0 }, metas : [ { id : 203212619681628776, timestamp : 1464878925040, ns : CHAT, payload : { chattype : CHAT, from : admin, to : 5913, contents : [ { contenttype : TEXT, text : 46546565 } ] } } ], next_key : 203212619681628776, queue : admin } }
06-02 22:48:43.749 11108-11162/com.gongkong D/ONE SDK: [2016/6/2 22:48:43:756]: log: level: 1, area: 1, SEND:
                                                       { verison : MSYNC_V1, compress_algorimth : 0, command : SYNC, payload : { key : 203212619681628776, queue : admin } }
06-02 22:48:43.749 11108-11162/com.gongkong D/ONE SDK: [2016/6/2 22:48:43:757]: easemob::EMChatManager::callbackReceievedMessages(const std::vector >&):: : shouldCreate : 1
06-02 22:48:43.769 11108-11163/com.gongkong I/hyphenate_jni: _EMAChatManagerListenerImpl onReceiveMessage
06-02 22:48:43.769 11108-12118/com.gongkong D/EMChatManager: convID:admin
06-02 22:48:43.769 11108-12118/com.gongkong D/msg: type:0
06-02 22:48:43.769 11108-12118/com.gongkong D/msg: type:0
06-02 22:48:43.769 11108-11162/com.gongkong D/ONE SDK: [2016/6/2 22:48:43:780]: onMessageReceived
06-02 22:48:43.779 11108-11162/com.gongkong D/ONE SDK: [2016/6/2 22:48:43:787]: log: level: 1, area: 1, RECV:
                                                       { verison : MSYNC_V1, command : SYNC, payload : { status : { error_code : 0 }, queue : admin, is_last : true } }
已邀请:
问题解决啦    原来消息回调是子线程,我在 回调里面打印了Toast   ,所以总是不显示接收到消息

要回复问题请先登录注册