IOS无法收到推送消息


(chenggx) #1

使用的是ionic3 的版本,message为58546799181931847 设备的registerID为191e35f7e005e7ad9d6
不知道是什么原因,安卓版是正常的。


#2

你这个没上报 token,可能 token 就没取到,看下这个


(chenggx) #3

已经是这样的配置了 还是不行啊
image
image


(chenggx) #4

你好 我怎么能确定 token上报了。


#5

看下客户端日志


(chenggx) #6
2019-01-24 16:20:52.698662+0800 神游电竞[33134:1548995]  | JIGUANG | D - [JIGUANGService] Action - JPUSH begin Setup with appkey:xxxxxxxxxxxx channel:developer-default isProduction:FALSE advertisingIdentifier:
2019-01-24 16:20:52.699075+0800 神游电竞[33134:1548995]  | JIGUANG | E - [JIGUANGService] Error: JCore version must be equal or greater than 1.2.6 for current JPush
2019-01-24 16:20:54.311998+0800 神游电竞[33134:1548998]  | JIGUANG | D - [JIGUANGService] Action - JAnalytics begin Setup with appkey:b4479c69a4a24a69412f63e4 channel:(null) isProduction:FALSE advertisingIdentifier:
2019-01-24 16:20:54.312208+0800 神游电竞[33134:1548996]  | JIGUANG | I - [JIGUANGService] 
2019-01-24 16:20:54.315032+0800 神游电竞[33134:1549051]  | JIGUANG | I - [JIGUANGClientController] Action - janalytics setup
2019-01-24 16:20:54.315087+0800 神游电竞[33134:1549051]  | JIGUANG | I - [JIGUANGClientController] Action - setup
2019-01-24 16:20:54.315124+0800 神游电竞[33134:1549051]  | JIGUANG | D - [JIGUANGService] Action - crashLogON
2019-01-24 16:20:54.318847+0800 神游电竞[33134:1549051]  | JIGUANG | D - [JIGUANGUserDefaultsController] read from old keychain data
2019-01-24 16:20:54.321337+0800 神游电竞[33134:1549002]  | JIGUANG | D - [JIGUANGUserDefaultsController] no old content, set new appKey
2019-01-24 16:20:54.366812+0800 神游电竞[33134:1549002]  | JIGUANG | D - [JIGUANGPageFlow] trySetupSession
2019-01-24 16:20:54.367140+0800 神游电竞[33134:1549002]  | JIGUANG | D - [JIGUANGPageFlow] setupSession
2019-01-24 16:20:54.427877+0800 神游电竞[33134:1548998]  | JIGUANG | D - [JIGUANGUtilities] WWAN 信息:{
2019-01-24 16:20:54.453891+0800 神游电竞[33134:1549002]  | JIGUANG | D - [JIGUANGNetworkController] Action - trySetupSession
2019-01-24 16:20:54.454281+0800 神游电竞[33134:1549002]  | JIGUANG | D - [JIGUANGHttpSessionController] Action - setupSession
2019-01-24 16:20:54.454577+0800 神游电竞[33134:1549002]  | JIGUANG | D - [JIGUANGNetworkController] userDefaut verified: 1
2019-01-24 16:20:54.454757+0800 神游电竞[33134:1549002]  | JIGUANG | D - [JIGUANGUtilities] JCOREPostNotificationWithUserInfo name: kJPFNetworkIsConnectingNotification (null)
2019-01-24 16:20:54.454902+0800 神游电竞[33134:1549002]  | JIGUANG | D - [JIGUANGSessionController] Action - connect
2019-01-24 16:20:54.455033+0800 神游电竞[33134:1549002]  | JIGUANG | D - [JIGUANGSessionController] Action - isSisOnProtect
2019-01-24 16:20:54.455177+0800 神游电竞[33134:1549002]  | JIGUANG | D - [JIGUANGSessionController] sis is not on protect
2019-01-24 16:20:54.455306+0800 神游电竞[33134:1549002]  | JIGUANG | D - [JIGUANGSessionController] Action - reset sis cache
2019-01-24 16:20:54.455472+0800 神游电竞[33134:1549002]  | JIGUANG | D - [JIGUANGAddressController] 开始Sis解析
2019-01-24 16:20:54.455607+0800 神游电竞[33134:1549002]  | JIGUANG | D - [JIGUANGAddressController] Action - sendSisRequest
2019-01-24 16:20:54.509127+0800 神游电竞[33134:1548996]  | JIGUANG | D - [JIGUANGAddressController] get address :124.202.138.32 from host : s.jpush.cn
2019-01-24 16:20:54.510474+0800 神游电竞[33134:1548996]  | JIGUANG | D - [JIGUANGTcpAddressSis] Action - sendSisRequest:toDefaultPort:toCustomPort
2019-01-24 16:20:54.521647+0800 神游电竞[33134:1548998]  | JIGUANG | D - [JIGUANGUdpSocket] close udp socket,info:
2019-01-24 16:20:54.583618+0800 神游电竞[33134:1548996]  | JIGUANG | D - [JIGUANGUdpSocket] send udp data
2019-01-24 16:20:54.583816+0800 神游电竞[33134:1548996]  | JIGUANG | D - [JIGUANGUdpSocket] send udp data succeed
2019-01-24 16:20:54.583936+0800 神游电竞[33134:1548996]  | JIGUANG | D - [JIGUANGUdpSocket] udp socket begin send behavior
2019-01-24 16:20:54.590852+0800 神游电竞[33134:1548998]  | JIGUANG | D - [JIGUANGService] Action - registerDeviceToken: <11d9fdb1 ef94c959 23c740cf 6d00b402 e786f330 4f307f32 89bab214 afb63292>
2019-01-24 16:20:54.591454+0800 神游电竞[33134:1548998]  | JIGUANG | D - [JIGUANGUserDefaultsController] Action - setCurrentDeviceToken - 11d9fdb1ef94c95923c740cf6d00b402e786f3304f307f3289bab214afb63292
2019-01-24 16:20:54.704022+0800 神游电竞[33134:1548996]  | JIGUANG | D - [JIGUANGTcpAddressSis] Action - parse
2019-01-24 16:20:54.725379+0800 神游电竞[33134:1548996]  | JIGUANG | D - [JIGUANGTcpAddressSis] Action - parse ips address
2019-01-24 16:20:54.738120+0800 神游电竞[33134:1549051]  | JIGUANG | D - [JIGUANGTcpAddressSis] Action - parseOptionAddress
2019-01-24 16:20:54.795864+0800 神游电竞[33134:1549051]  | JIGUANG | D - [JIGUANGUdpSocket] close udp socket,info:
2019-01-24 16:20:54.796385+0800 神游电竞[33134:1549051]  | JIGUANG | D - [JIGUANGSessionController] current network, ipv4
2019-01-24 16:20:54.796451+0800 神游电竞[33134:1548996]  | JIGUANG | D - [JIGUANGSessionController] Action - connectTcp
2019-01-24 16:20:54.796636+0800 神游电竞[33134:1548996]  | JIGUANG | D - [JIGUANGSessionController] Action - connectTcpAddress:
2019-01-24 16:20:54.796697+0800 神游电竞[33134:1548996]  | JIGUANG | D - [JIGUANGSessionController] connectTcp:43.247.88.88:7008
2019-01-24 16:20:54.796821+0800 神游电竞[33134:1548996]  | JIGUANG | I - [JIGUANGSessionController] connecting with coreAddr 43.247.88.88,port 7008
2019-01-24 16:20:54.862935+0800 神游电竞[33134:1548996]  | JIGUANG | D - [JIGUANGTcpSocket] 连接主机成功
2019-01-24 16:20:54.863364+0800 神游电竞[33134:1548996]  | JIGUANG | D - [JIGUANGTcpAddressSis] Action - sisReport:port
2019-01-24 16:20:54.863801+0800 神游电竞[33134:1548996]  | JIGUANG | D - [JIGUANGUtilities] JCOREPostNotificationWithUserInfo name: kJPUSHNetworkDidSetupNotification (null)
2019-01-24 16:20:54.890552+0800 神游电竞[33134:1548996]  | JIGUANG | D - [JIGUANGSessionController] Action - doSendTcpRequest
2019-01-24 16:20:54.890626+0800 神游电竞[33134:1548996]  | JIGUANG | I - [JIGUANGRegistration] 
2019-01-24 16:20:54.891058+0800 神游电竞[33134:1548996]  | JIGUANG | D - [JIGUANGRegistration] Register info - strKey:iPhone0d0c09020a080b0e04$$ $$tv.shenyou.app$$b4479c69a4a24a69412f63e4 clientInfo:12.1.2$$iPhone9,2$$ $$ $$\^P$$3.1.2|1.2.1| |1.2.5| | , deviceToken:11d9fdb1ef94c95923c740cf6d00b402e786f3304f307f3289bab214afb63292, aps-Environment:1, configApsEnvironment:1 advertisingIdentifier:
2019-01-24 16:20:54.900296+0800 神游电竞[33134:1548996]  | JIGUANG | D - [JIGUANGRequestSession] setupSession
2019-01-24 16:20:54.900638+0800 神游电竞[33134:1548996]  | JIGUANG | D - [JIGUANGClientController] begin timing report once every 0 seconds
2019-01-24 16:20:55.285923+0800 神游电竞[33134:1548996]  | JIGUANG | I - [JIGUANGRegistration] 
2019-01-24 16:20:55.286223+0800 神游电竞[33134:1548996]  | JIGUANG | D - [JIGUANGTcpSocket] Got tcp command
2019-01-24 16:20:55.286543+0800 神游电竞[33134:1548996]  | JIGUANG | D - [JIGUANGSessionController] Action - onAckOrRespReceived:
2019-01-24 16:20:55.286728+0800 神游电竞[33134:1548996]  | JIGUANG | D - [JIGUANGSessionController] Action - onRegisterRespond:
2019-01-24 16:20:55.286927+0800 神游电竞[33134:1548996]  | JIGUANG | D - [JIGUANGUtilities] JCOREPostNotificationWithUserInfo name: kJPUSHNetworkDidRegisterNotification {
2019-01-24 16:20:55.326515+0800 神游电竞[33134:1548996]  | JIGUANG | D - [JIGUANGSessionController] Action - doSendTcpRequest
2019-01-24 16:20:55.425576+0800 神游电竞[33134:1549051]  | JIGUANG | I - [JIGUANGLogin] 
2019-01-24 16:20:55.425930+0800 神游电竞[33134:1549051]  | JIGUANG | D - [JIGUANGTcpSocket] Got tcp command
2019-01-24 16:20:55.429687+0800 神游电竞[33134:1549051]  | JIGUANG | D - [JIGUANGSessionController] Action - onAckOrRespReceived:
2019-01-24 16:20:55.430318+0800 神游电竞[33134:1549051]  | JIGUANG | D - [JIGUANGSessionController] Event - onLoginRespond
2019-01-24 16:20:55.461096+0800 神游电竞[33134:1548998]  | JIGUANG | D - [JIGUANGUtilities] WWAN 信息:{
2019-01-24 16:20:55.471154+0800 神游电竞[33134:1549051]  | JIGUANG | D - [JIGUANGUtilities] JCOREPostNotificationWithUserInfo name: kJPUSHNetworkDidLoginNotification (null)
2019-01-24 16:20:55.538443+0800 神游电竞[33134:1548996]  | JIGUANG | D - [JIGUANGSessionController] Action - doSendTcpRequest
2019-01-24 16:20:55.538762+0800 神游电竞[33134:1548996]  | JIGUANG | I - [JIGUANGDeviceTokenReport] try to upload device token:11d9fdb1ef94c95923c740cf6d00b402e786f3304f307f3289bab214afb63292
2019-01-24 16:20:55.649097+0800 神游电竞[33134:1549051]  | JIGUANG | D - [JIGUANGTcpSocket] Got tcp command
2019-01-24 16:20:55.649544+0800 神游电竞[33134:1549051]  | JIGUANG | D - [JIGUANGSessionController] Action - onAckOrRespReceived:
2019-01-24 16:20:55.683900+0800 神游电竞[33134:1548998]  | JIGUANG | D - [JIGUANGDeviceTokenReport] upload device token success, current token is : 11d9fdb1ef94c95923c740cf6d00b402e786f3304f307f3289bab214afb63292
2019-01-24 16:20:56.290962+0800 神游电竞[33134:1549051]  | JIGUANG | D - [JIGUANGReport] send report:(
2019-01-24 16:20:56.390431+0800 神游电竞[33134:1549051]  | JIGUANG | D - [JIGUANGReport] send report:(
2019-01-24 16:20:56.395817+0800 神游电竞[33134:1548998]  | JIGUANG | D - [JIGUANGReport] send report:(
2019-01-24 16:20:56.408247+0800 神游电竞[33134:1548996]  | JIGUANG | D - [JIGUANGReport] send report:(

#7

信息不是很全,目前的日志里面只有一个关于 JCore 的提示,JCore 的版本检查下是不是 1.2.6


(chenggx) #8

嗯 是1.2.6