ios 集成成功但是 没有收到推送消息


(Mxxw458) #1
2018-06-25 12:08:54.993374+0800 pmsapp[4411:1951174]  | JIGUANG | I - [JIGUANGService] 
--------------------------- JPush Log ----------------------------
--------------------JPush SDK Version:3.0.7--build:45----------
--------------------JCore Lib Version:1.1.6--build:29----------
-----------------AppKey:81efb7d8aab0a562417a7161----------------
----------------------------------------------------------------
2018-06-25 12:08:54.996797+0800 pmsapp[4411:1951171]  | JIGUANG | I - [JIGUANGClientController] Action - jpush setup
2018-06-25 12:08:54.999614+0800 pmsapp[4411:1951174]  | JIGUANG | I - [JIGUANGClientController] Action - setup
2018-06-25 12:08:55.192 [info][tid:main][RCTCxxBridge.mm:214] Initializing <RCTCxxBridge: 0x1c41ca8c0> (parent: <RCTBridge: 0x1c40dbc10>, executor: (null))
2018-06-25 12:08:55.193792+0800 pmsapp[4411:1951054] Initializing <RCTCxxBridge: 0x1c41ca8c0> (parent: <RCTBridge: 0x1c40dbc10>, executor: (null))
2018-06-25 12:08:55.486 [warn][tid:main][RCTBridge.m:120] Class RCTCxxModule was not exported. Did you forget to use RCT_EXPORT_MODULE()?
2018-06-25 12:08:55.485730+0800 pmsapp[4411:1951054] Class RCTCxxModule was not exported. Did you forget to use RCT_EXPORT_MODULE()?
2018-06-25 12:08:55.605 [warn][tid:main][RCTModuleData.mm:69] Module RCTImageLoader requires main queue setup since it overrides `init` but doesn't implement `requiresMainQueueSetup`. In a future release React Native will default to initializing all native modules on a background thread unless explicitly opted-out of.
2018-06-25 12:08:55.604984+0800 pmsapp[4411:1951054] Module RCTImageLoader requires main queue setup since it overrides `init` but doesn't implement `requiresMainQueueSetup`. In a future release React Native will default to initializing all native modules on a background thread unless explicitly opted-out of.
2018-06-25 12:08:55.693264+0800 pmsapp[4411:1951174] [] nw_connection_get_connected_socket 2 Connection has no connected handler
2018-06-25 12:08:55.694401+0800 pmsapp[4411:1951174] TCP Conn 0x1c017e840 Failed : error 0:61 [61]
2018-06-25 12:08:55.699 [info][tid:main][RCTRootView.m:295] Running application pmsapp ({
    initialProps =     {
    };
    rootTag = 1;
})
2018-06-25 12:08:55.698672+0800 pmsapp[4411:1951054] Running application pmsapp ({
    initialProps =     {
    };
    rootTag = 1;
})
2018-06-25 12:08:55.719368+0800 pmsapp[4411:1951588]  | JIGUANG | W - [JIGUANGService] 请将JPush的初始化方法,添加到[UIApplication application: didFinishLaunchingWithOptions:]方法中,否则JPush将不能准确的统计到通知的点击数量。参考文档:https://docs.jiguang.cn/jpush/client/iOS/ios_guide_new/#_6
2018-06-25 12:08:57.770536+0800 pmsapp[4411:1951631] [] nw_connection_get_connected_socket 6 Connection has no connected handler
2018-06-25 12:08:57.770575+0800 pmsapp[4411:1951631] TCP Conn 0x1c4360180 Failed : error 0:61 [61]
2018-06-25 12:08:57.788585+0800 pmsapp[4411:1951588]  | JIGUANG | I - [JIGUANGSessionController] connecting with coreAddr 103.229.215.8,port 7008
2018-06-25 12:08:58.036170+0800 pmsapp[4411:1951631]  | JIGUANG | I - [JIGUANGRegistration] 
----- register info -----
Appkey: 81efb7d8aab0a562417a7161
token:3fde77d5b4741861696dd527c7a8859147dc4e0e63a75c9a598d4dee47ca8b6b  
 advertisingIdentifier: 
2018-06-25 12:08:58.272005+0800 pmsapp[4411:1951588]  | JIGUANG | I - [JIGUANGRegistration] 
----- register result -----
uid: 17885190820
registrationID:18171adc035d58595e9 
2018-06-25 12:08:58.487882+0800 pmsapp[4411:1951588]  | JIGUANG | I - [JIGUANGLogin] 
----- login result -----
uid:17885190820 
registrationID:18171adc035d58595e9
2018-06-25 12:08:58.562817+0800 pmsapp[4411:1951588] Missing server connection for kCTConnectionInvalidatedNotification
2018-06-25 12:08:58.566067+0800 pmsapp[4411:1951587] Missing server connection for kCTConnectionInvalidatedNotification
2018-06-25 12:08:58.570441+0800 pmsapp[4411:1951588] Missing server connection for kCTConnectionInvalidatedNotification
2018-06-25 12:08:58.591280+0800 pmsapp[4411:1951587]  | JIGUANG | I - [JIGUANGDeviceTokenReport] try to upload device token:3fde77d5b4741861696dd527c7a8859147dc4e0e63a75c9a598d4dee47ca8b6b
2018-06-25 12:08:58.660 [info][tid:com.facebook.react.JavaScript] Running application "pmsapp" with appParams: {"rootTag":1,"initialProps":{}}. __DEV__ === true, development-level warning are ON, performance optimizations are OFF
2018-06-25 12:08:58.659769+0800 pmsapp[4411:1951605] Running application "pmsapp" with appParams: {"rootTag":1,"initialProps":{}}. __DEV__ === true, development-level warning are ON, performance optimizations are OFF
2018-06-25 12:08:58.733971+0800 pmsapp[4411:1951587]  | JIGUANG | I - [JIGUANGDeviceTokenReport] upload device token success
2018-06-25 12:08:58.754 [info][tid:com.facebook.react.JavaScript] Key welcome is already defined!
2018-06-25 12:08:58.754458+0800 pmsapp[4411:1951605] Key welcome is already defined!
2018-06-25 12:08:58.755 [info][tid:com.facebook.react.JavaScript] Key login is already defined!

(Mxxw458) #2

这是部分log 看到是 集成成功了 使用registrationID测试推送消息 并没有收到


#3

iOS 注意环境问题

排查 常见问题 - JPush 合集(持续更新)

提供你推送的消息的 MessageID 值


(Mxxw458) #4

4079875881这是 messageId
我正在排查 ios环境问题


(Mxxw458) #5

2557205417 这是开发环境的messageid


#6

1、你的 regIstrationID 是开发环境的

2、你的开发环境的证书被 revoke 了,重新生成上传到极光官网


(Ezreal) #7

请问这个对以后的版本有没有影响