集成iOS端,集成完毕后没有打印login 打印,对集成文档看了3遍了,求解


(Cara_TT) #1

集成失败,没有打印出来login,证书是正常滴噢


#2

请提供完整的客户端集成日志


(Cara_TT) #3

看了, 都是一些无效的的信息 不停的打印


#4

使用jiguang或者JPush筛选一下。看相关日志,有报错什么的给出来


(Cara_TT) #5

(0000000100515F50) 114.114.114.114:53 (Penalty Time Left 0) (Scope None:0000000000000000:-1) found for name stats.jpush.cn. (AAAA)
May 22 16:52:10 iPhone5864 mDNSResponder[95] : InitDNSConfig: question 0000000100804040 stats.jpush.cn. (AAAA) Timeout 30, DNS Server 114.114.114.114:53
May 22 16:52:10 iPhone5864 mDNSResponder[95] : ShouldSuppressUnicastQuery: Query suppressed for stats.jpush.cn., qtype AAAA, since DNS Configuration does not allow (req_A is true and req_AAAA is false)
May 22 16:52:10 iPhone5864 mDNSResponder[95] : GetServerForQuestion: 0000000100803CC8 DNS server (0000000100515F50) 114.114.114.114:53 (Penalty Time Left 0) (Scope None:0000000000000000:-1) found for name stats.jpush.cn. (Addr)


(Cara_TT) #6

: 2017-05-22 16:52:06 +0800 apsd[85]: <PCDispatchTimer: 0x10037a8e0> is invalidated
Callstack (
0 PersistentConnection 0x000000019631157c + 116
1 PersistentConnection 0x000000019630ef84 + 320
2 PersistentConnection 0x00000001962fb0b0 + 188
3 PersistentConnection 0x000000019630088c + 80
4 PersistentConnection 0x00000001962fd1e0 + 88
5 Foundation 0x000000019404cc10 __NSFireDelayedPerform + 428
6 CoreFoundation 0x00000001935288f4 + 28
7 CoreFoundation 0x0000000193528608 + 872
8 CoreFoundation 0x0000000193527ec4 + 244
9 CoreFoundation 0x0000000193525ac0 + 1572
10 CoreFoundation 0x0000000193454048 CFRunLoopRunSpecific + 444
11 Foundation 0x0000000193f65a8c <
May 22 16:52:06 iPhone5864 apsd(PersistentConnection)[85] : 2017-05-22 16:52:06 +0800 apsd[85]: <PCDispatchTimer: 0x10037a8e0> dealloced


(Cara_TT) #7

: 2017-05-22 16:52:01 +0800 apsd[85]: <APSCourier: 0x100314850>: Received message for enabled topic ‘com.tencent.mqq’ with payload ‘{
acme = “”;
aps = {
badge = 8;
category = reply;
};
asu = 1206559424;
qr = “1206559424|”;
r = “g|179576370|42185|1495443120|763406454”;
t = 1;
}’ onInterface: NonCellular for device token: NO with priority 10


(Cara_TT) #8

就是这些东东了


#9

有开启极光的debug日志调试吗?


(Cara_TT) #10
    JPUSHService.setDebugMode()

(Cara_TT) #11

请问 我还能怎样调试


#12

1、关于日志的,请仔细看我楼上给你的链接,是否有做屏蔽操作等,请获取到完整的日志,如果有报错可以来分析问题
2、如果你只是说没有看到日志,需要验证当前是否集成成功,请调用API获取一下registrationID,能获取到表示已成功

且可以推送一条消息测试一下。

3、你可以考虑跑一下我们的demo。


(Cara_TT) #13

registrationID 有啊

就是收不到消息


#14

既然如此,那么请给我提供 你测试推送消息的msgid和这个registrationID,粘贴文本


(Cara_TT) #15

这个msgid 哪里查看 应用后台查不到


#16


(Cara_TT) #17

Message ID:33776997239774138

Reg.ID:161a3797c835e1bbfec


#18

你发的是自定义消息,需要App处于前台,且不展示


(Cara_TT) #19

自定义消息 ,app处于前端, 我在函数里面 也没有看见回调噢


#20

https://docs.jiguang.cn/jpush/client/iOS/ios_api/#_24

这是自定义消息的说明