收不到服务端推送的消息

ios
标签: #<Tag:0x00007fb83f5db7f0>

(maple_leaf81) #7

我在 didFinishLaunchingWithOptions 的末尾设置了 JPUSHService.setDebugMode()

但打开 Devices 看不到那个小三角,查看不了日志。


(maple_leaf81) #8

我的客户端你官方提供的swift客户端,设置我都没有动过。而且是收到过推送消息,后来就收不到了。


#9

需要提供信息我才能分析原因,如果registrationID一致,请你去根据上述说明排查!


(maple_leaf81) #10

我的客户端日志怎么看不到呢?


(maple_leaf81) #11

是不是手机有哪个三角下拉框看日志,ipad没有这个按钮啊。


(maple_leaf81) #12
2017-11-21 14:52:40.590440 JPushSwiftDemo[279:12731]  | JPUSH | I - [JPUSHService] 

--------------------------- JPush Log ----------------------------

--------------------JPush SDK Version:2.1.9--build:33----------

-----------------AppKey:3d7ec23998cdd4de2ce839ca----------------

----------------------------------------------------------------

2017-11-21 14:52:40.592747 JPushSwiftDemo[279:12731]  | JPUSH | I - [JPUSHClientController] Action - setup

get the deviceToken  32 bytes

2017-11-21 14:52:40.844805 JPushSwiftDemo[279:12750] Could not successfully update network info during initialization.

2017-11-21 14:52:41.099861 JPushSwiftDemo[279:12733]  | JPUSH | I - [JPUSHSessionController] connecting with coreAddr 103.229.215.37,port 7000

已连接

2017-11-21 14:52:41.296105 JPushSwiftDemo[279:12735]  | JPUSH | I - [JPUSHLogin] 

----- login result -----

uid:6202527448 

registrationID:13165ffa4e0d77acd5b

已登录

get RegistrationID

2017-11-21 14:52:41.309697 JPushSwiftDemo[279:12735]  | JPUSH | I - [JPUSHDeviceTokenReport] try to upload device token:4d7556cafe3d8fcb8794192bfe1b66754147a98c31d4e8e16517c9d2b6fd7fb7

2017-11-21 14:52:41.363118 JPushSwiftDemo[279:12735]  | JPUSH | I - [JPUSHDeviceTokenReport] upload device token success

这个是控制台打印信息。


#13

日志显示已经集成成功,没有什么错误信息。[quote=“Lris, post:4, topic:22611, full:true”]
极光这边已经将消息发给了Apple服务器,你如果确认没收到,是Apple服务器没有下发,几个原因:1、网络异常,无法连接到Apple服务器(此处与你是否手机可以正常上网是不一样的),Apple服务器对断连期间 的推送,只会保留1条,其他会丢弃。 可尝试切换网络2、手机-通知栏提醒-提醒样式3、调用了反注册代码 [[UIApplication sharedApplication] unregisterForRemoteNotifications];或者[[UIApplication sharedApplication] openURL:[NSURL URLWithString:UIApplicationOpenSettingsURLString]]4、注册apns代码中有提供类型选择:entity.types = JPAuthorizationOptionAlert|JPAuthorizationOptionBadge|JPAuthorizationOptionSound; 你没有写上alert5、iOS10以下,处于前台,收到消息是不会展示的,log会打印,iOS10以上才有提供接口,在前台展示通知6、push Notification没开7、App端配置的通配证书8、高峰期Apple下发有延迟9、检查清除角标的方法是否影响了消息的展示,角标清除,通知栏信息就没了。10、不要特别频繁的快速的间隔很小的推送消息,再重测一下看看。

具体排查总结阅读:1、 常见问题 - JPush 合集(持续更新) 2、 常见问题 - JPush 合集(持续更新)
[/quote]

根据说明检查了没有!!


(maple_leaf81) #14



(maple_leaf81) #15

我这个是 IOS 10.2


(maple_leaf81) #16

设置 — 通知 中 JPushSwiftDemo 设置的是标记,声音,横幅


(maple_leaf81) #17

Xcode中 bundle indentifier 与服务端的 bundle 是一致的。


(maple_leaf81) #18

代码中没有调用 unregisterForRemoteNotifications


(maple_leaf81) #19

QQ的推送通知都能够收到。


(maple_leaf81) #20

我都检查过了,你看这怎么弄呢?


(maple_leaf81) #21
2017-11-22 10:10:05.343333 JPushSwiftDemo[400:58498]  | JPUSH | D - [JPUSHService] Action - JPUSH begin Setup with appkey:3d7ec23998cdd4de2ce839ca channel:Publish channel isProduction:FALSE advertisingIdentifier:

2017-11-22 10:10:05.365089 JPushSwiftDemo[400:58494]  | JPUSH | I - [JPUSHService] 

--------------------------- JPush Log ----------------------------

--------------------JPush SDK Version:2.1.9--build:33----------

-----------------AppKey:3d7ec23998cdd4de2ce839ca----------------

----------------------------------------------------------------

2017-11-22 10:10:05.366999 JPushSwiftDemo[400:58494]  | JPUSH | I - [JPUSHService] 

--------------------------- JPush Log ----------------------------

--------------------JPush SDK Version:2.1.9--build:33----------

-----------------AppKey:3d7ec23998cdd4de2ce839ca----------------

----------------------------------------------------------------

2017-11-22 10:10:05.374669 JPushSwiftDemo[400:58494]  | JPUSH | I - [JPUSHClientController] Action - setup

2017-11-22 10:10:05.375852 JPushSwiftDemo[400:58494]  | JPUSH | I - [JPUSHClientController] Action - setup

2017-11-22 10:10:05.585931 JPushSwiftDemo[400:58498]  | JPUSH | D - [JPUSHService] Action - registrationID

get the deviceToken  32 bytes

2017-11-22 10:10:05.691501 JPushSwiftDemo[400:58460]  | JPUSH | D - [JPUSHService] Action - registerDeviceToken: <4d7556ca fe3d8fcb 8794192b fe1b6675 4147a98c 31d4e8e1 6517c9d2 b6fd7fb7>

2017-11-22 10:10:05.727695 JPushSwiftDemo[400:58498]  | JPUSH | D - [JPUSHHttpSessionController] 获取当前设备网络的 wifi 或者 WWAN 信息

2017-11-22 10:10:05.738653 JPushSwiftDemo[400:58467]  | JPUSH | D - [JPUSHHttpSessionController] wifi 信息:{

    "mac_address" = "a4:56:2:b8:fc:e5";

    ssid = TFIT013L;

}

2017-11-22 10:10:05.739767 JPushSwiftDemo[400:58467]  | JPUSH | D - [JPUSHPageFlow] trySetupSession

2017-11-22 10:10:05.740884 JPushSwiftDemo[400:58467]  | JPUSH | D - [JPUSHPageFlow] setupSession

2017-11-22 10:10:05.804780 JPushSwiftDemo[400:58498]  | JPUSH | D - [JPUSHUserActiveReport] report content {

    activities =     (

    );

    date = "2017-11-22";

    duration = "80.59999999999999";

    itime = 1511310783;

    "session_id" = fcd3946ea400054246456205c5c352df;

    time = "08:33:03";

    timezone = "+8";

    type = "active_terminate";

}

2017-11-22 10:10:05.840380 JPushSwiftDemo[400:58495]  | JPUSH | D - [JPUSHHttpSessionController] Action - setupSession

2017-11-22 10:10:05.841446 JPushSwiftDemo[400:58495]  | JPUSH | D - [JPUSHPageFlow] setupSession

2017-11-22 10:10:05.842260 JPushSwiftDemo[400:58495]  | JPUSH | D - [JPUSHPageFlow] resetCurrentPage

2017-11-22 10:10:05.852808 JPushSwiftDemo[400:58495]  | JPUSH | D - [JPUSHUserDefaultsController] Action - setCurrentDeviceToken - 4d7556cafe3d8fcb8794192bfe1b66754147a98c31d4e8e16517c9d2b6fd7fb7

2017-11-22 10:10:05.853531 JPushSwiftDemo[400:58495]  | JPUSH | D - [JPUSHNetworkController] Action - trySetupSession

2017-11-22 10:10:05.854144 JPushSwiftDemo[400:58495]  | JPUSH | D - [JPUSHHttpSessionController] Action - setupSession

2017-11-22 10:10:05.855036 JPushSwiftDemo[400:58495]  | JPUSH | D - [JPUSHNetworkController] userDefaut verified: 1, curNetworkStatus: 2

2017-11-22 10:10:05.855864 JPushSwiftDemo[400:58495]  | JPUSH | D - [JPUSHUtilities] JPUSHPostNotificationWithUserInfo name: kJPFNetworkIsConnectingNotification (null)

2017-11-22 10:10:05.856638 JPushSwiftDemo[400:58495]  | JPUSH | D - [JPUSHSessionController] Action - connect

2017-11-22 10:10:05.857299 JPushSwiftDemo[400:58495]  | JPUSH | D - [JPUSHSessionController] Action - isSisOnProtect

2017-11-22 10:10:05.857936 JPushSwiftDemo[400:58495]  | JPUSH | D - [JPUSHSessionController] sis is not on protect

2017-11-22 10:10:05.859070 JPushSwiftDemo[400:58495]  | JPUSH | D - [JPUSHSessionController] Action - reset sis cache

2017-11-22 10:10:05.860016 JPushSwiftDemo[400:58495]  | JPUSH | D - [JPUSHAddressController] 开始Sis解析

2017-11-22 10:10:05.862049 JPushSwiftDemo[400:58495]  | JPUSH | D - [JPUSHAddressController] Action - sendSisRequest

2017-11-22 10:10:05.866568 JPushSwiftDemo[400:58494]  | JPUSH | D - [JPUSHAddressController] get address :118.145.3.97 from host : s.jpush.cn

2017-11-22 10:10:05.867672 JPushSwiftDemo[400:58494]  | JPUSH | D - [JPUSHAddressController] Action - sendSisRequest:toDefaultPort

2017-11-22 10:10:05.868662 JPushSwiftDemo[400:58494]  | JPUSH | D - [JPUSHUdpSocket] close udp socket,info:

2017-11-22 10:10:05.871002 JPushSwiftDemo[400:58522] Could not successfully update network info during initialization.

2017-11-22 10:10:05.873274 JPushSwiftDemo[400:58467]  | JPUSH | D - [JPUSHUdpSocket] send udp data

2017-11-22 10:10:05.874222 JPushSwiftDemo[400:58467]  | JPUSH | D - [JPUSHUdpSocket] send udp data succeed

2017-11-22 10:10:05.874998 JPushSwiftDemo[400:58467]  | JPUSH | D - [JPUSHUdpSocket] udp socket begin send behavior

2017-11-22 10:10:09.938936 JPushSwiftDemo[400:58467]  | JPUSH | E - [JPUSHAddressController] not receive sis result just now

2017-11-22 10:10:09.940080 JPushSwiftDemo[400:58467]  | JPUSH | E - [JPUSHAddressController] not receive sis result just now

2017-11-22 10:10:09.941795 JPushSwiftDemo[400:58498]  | JPUSH | D - [JPUSHUdpSocket] close udp socket,info:

2017-11-22 10:10:09.944797 JPushSwiftDemo[400:58467]  | JPUSH | D - [JPUSHAddressController] Action - sendSisRequest:toDefaultPort

2017-11-22 10:10:09.946397 JPushSwiftDemo[400:58498]  | JPUSH | D - [JPUSHUdpSocket] close udp socket,info:

2017-11-22 10:10:09.959422 JPushSwiftDemo[400:58522] Could not successfully update network info during initialization.

2017-11-22 10:10:09.970773 JPushSwiftDemo[400:58467]  | JPUSH | D - [JPUSHUdpSocket] send udp data

2017-11-22 10:10:09.973169 JPushSwiftDemo[400:58467]  | JPUSH | D - [JPUSHUdpSocket] send udp data succeed

2017-11-22 10:10:09.975679 JPushSwiftDemo[400:58467]  | JPUSH | D - [JPUSHUdpSocket] udp socket begin send behavior

2017-11-22 10:10:12.009077 JPushSwiftDemo[400:58494]  | JPUSH | E - [JPUSHAddressController] not receive sis result just now

2017-11-22 10:10:12.011338 JPushSwiftDemo[400:58494]  | JPUSH | E - [JPUSHAddressController] not receive sis result just now

2017-11-22 10:10:12.013103 JPushSwiftDemo[400:58498]  | JPUSH | D - [JPUSHAddressController] not receive sis result

2017-11-22 10:10:12.023012 JPushSwiftDemo[400:58494]  | JPUSH | D - [JPUSHAddressController] get address :117.121.49.101 from host : sis.jpush.io

2017-11-22 10:10:12.024889 JPushSwiftDemo[400:58467]  | JPUSH | D - [JPUSHAddressController] Action - sendSisRequest:toDefaultPort

2017-11-22 10:10:12.026561 JPushSwiftDemo[400:58494]  | JPUSH | D - [JPUSHUdpSocket] close udp socket,info:

2017-11-22 10:10:12.038009 JPushSwiftDemo[400:58522] Could not successfully update network info during initialization.

2017-11-22 10:10:12.044198 JPushSwiftDemo[400:58495]  | JPUSH | D - [JPUSHUdpSocket] send udp data

2017-11-22 10:10:12.046830 JPushSwiftDemo[400:58495]  | JPUSH | D - [JPUSHUdpSocket] send udp data succeed

2017-11-22 10:10:12.049227 JPushSwiftDemo[400:58495]  | JPUSH | D - [JPUSHUdpSocket] udp socket begin send behavior

2017-11-22 10:10:16.119836 JPushSwiftDemo[400:58495]  | JPUSH | E - [JPUSHAddressController] not receive sis result just now

2017-11-22 10:10:16.121210 JPushSwiftDemo[400:58495]  | JPUSH | E - [JPUSHAddressController] not receive sis result just now

2017-11-22 10:10:16.122929 JPushSwiftDemo[400:58494]  | JPUSH | D - [JPUSHUdpSocket] close udp socket,info:

2017-11-22 10:10:16.125785 JPushSwiftDemo[400:58495]  | JPUSH | D - [JPUSHAddressController] Action - sendSisRequest:toDefaultPort

2017-11-22 10:10:16.127518 JPushSwiftDemo[400:58494]  | JPUSH | D - [JPUSHUdpSocket] close udp socket,info:

2017-11-22 10:10:16.139979 JPushSwiftDemo[400:58522] Could not successfully update network info during initialization.

2017-11-22 10:10:16.147607 JPushSwiftDemo[400:58495]  | JPUSH | D - [JPUSHUdpSocket] send udp data

2017-11-22 10:10:16.150601 JPushSwiftDemo[400:58494]  | JPUSH | D - [JPUSHUdpSocket] send udp data succeed

2017-11-22 10:10:16.152801 JPushSwiftDemo[400:58494]  | JPUSH | D - [JPUSHUdpSocket] udp socket begin send behavior

2017-11-22 10:10:18.187383 JPushSwiftDemo[400:58494]  | JPUSH | E - [JPUSHAddressController] not receive sis result just now

2017-11-22 10:10:18.188629 JPushSwiftDemo[400:58494]  | JPUSH | E - [JPUSHAddressController] not receive sis result just now

2017-11-22 10:10:18.190328 JPushSwiftDemo[400:58498]  | JPUSH | D - [JPUSHAddressController] not receive sis result

2017-11-22 10:10:20.225779 JPushSwiftDemo[400:58467]  | JPUSH | D - [JPUSHAddressController] get address :(null) from host : easytomessage.com

2017-11-22 10:10:20.230378 JPushSwiftDemo[400:58546]  | JPUSH | D - [JPUSHAddressController] Action - sendSisRequest:toDefaultPort

2017-11-22 10:10:20.231803 JPushSwiftDemo[400:58546]  | JPUSH | D - [JPUSHUdpSocket] close udp socket,info:

2017-11-22 10:10:20.243182 JPushSwiftDemo[400:58522] Could not successfully update network info during initialization.

2017-11-22 10:10:20.250896 JPushSwiftDemo[400:58467]  | JPUSH | D - [JPUSHUdpSocket] send udp data

2017-11-22 10:10:20.253328 JPushSwiftDemo[400:58546]  | JPUSH | D - [JPUSHUdpSocket] send udp data succeed

2017-11-22 10:10:20.256385 JPushSwiftDemo[400:58546]  | JPUSH | D - [JPUSHUdpSocket] udp socket begin send behavior

2017-11-22 10:10:24.264419 JPushSwiftDemo[400:58546]  | JPUSH | E - [JPUSHAddressController] not receive sis result just now

2017-11-22 10:10:24.266048 JPushSwiftDemo[400:58546]  | JPUSH | E - [JPUSHAddressController] not receive sis result just now

2017-11-22 10:10:24.268148 JPushSwiftDemo[400:58546]  | JPUSH | D - [JPUSHUdpSocket] close udp socket,info:

2017-11-22 10:10:24.271460 JPushSwiftDemo[400:58546]  | JPUSH | D - [JPUSHAddressController] Action - sendSisRequest:toDefaultPort

2017-11-22 10:10:24.273935 JPushSwiftDemo[400:58546]  | JPUSH | D - [JPUSHUdpSocket] close udp socket,info:

2017-11-22 10:10:24.281019 JPushSwiftDemo[400:58522] Could not successfully update network info during initialization.

2017-11-22 10:10:24.286194 JPushSwiftDemo[400:58495]  | JPUSH | D - [JPUSHUdpSocket] send udp data

2017-11-22 10:10:24.288557 JPushSwiftDemo[400:58495]  | JPUSH | D - [JPUSHUdpSocket] send udp data succeed

2017-11-22 10:10:24.291195 JPushSwiftDemo[400:58495]  | JPUSH | D - [JPUSHUdpSocket] udp socket begin send behavior

2017-11-22 10:10:26.339520 JPushSwiftDemo[400:58494]  | JPUSH | E - [JPUSHAddressController] not receive sis result just now

2017-11-22 10:10:26.340592 JPushSwiftDemo[400:58494]  | JPUSH | E - [JPUSHAddressController] not receive sis result just now

2017-11-22 10:10:26.343210 JPushSwiftDemo[400:58495]  | JPUSH | D - [JPUSHAddressController] not receive sis result

2017-11-22 10:10:26.345261 JPushSwiftDemo[400:58494]  | JPUSH | D - [JPUSHSessionController] Action - connectTcp:afterConnectUdp:

2017-11-22 10:10:26.348028 JPushSwiftDemo[400:58495]  | JPUSH | D - [JPUSHSessionController] Action - connectTcp:

2017-11-22 10:10:26.353309 JPushSwiftDemo[400:58494]  | JPUSH | D - [JPUSHSessionController] connectTcp:(null)

2017-11-22 10:10:26.922538 JPushSwiftDemo[400:58495]  | JPUSH | D - [JPUSHReport] send report:(

        {

        date = "2017-11-22";

        itime = 1511316605;

        "session_id" = dfb101a8e837f53c21ff933d1b8d4c8b;

        time = "10:10:05";

        timezone = "+8";

        type = "active_launch";

    }

) log succed

2017-11-22 10:10:28.360398 JPushSwiftDemo[400:58495]  | JPUSH | D - [JPUSHSessionController] Action - connectTcp:afterConnectUdp:

2017-11-22 10:10:28.362420 JPushSwiftDemo[400:58498]  | JPUSH | D - [JPUSHSessionController] Action - connectTcp:

2017-11-22 10:10:28.364011 JPushSwiftDemo[400:58495]  | JPUSH | D - [JPUSHSessionController] connectTcp:(null)

2017-11-22 10:10:28.365542 JPushSwiftDemo[400:58498]  | JPUSH | D - [JPUSHSessionController] Action - connectTcp:afterConnectUdp:

2017-11-22 10:10:28.367683 JPushSwiftDemo[400:58495]  | JPUSH | D - [JPUSHSessionController] Action - connectTcp:

2017-11-22 10:10:28.369578 JPushSwiftDemo[400:58498]  | JPUSH | D - [JPUSHSessionController] connectTcp:103.229.215.41:7011

2017-11-22 10:10:28.372381 JPushSwiftDemo[400:58498]  | JPUSH | I - [JPUSHSessionController] connecting with coreAddr 103.229.215.41,port 7011

2017-11-22 10:10:28.373294 JPushSwiftDemo[400:58498]  | JPUSH | I - [JPUSHSessionController] connecting with coreAddr 103.229.215.41,port 7011

2017-11-22 10:10:31.702955 JPushSwiftDemo[400:58494]  | JPUSH | D - [JPUSHTcpSocket] 连接主机成功

2017-11-22 10:10:31.706189 JPushSwiftDemo[400:58495]  | JPUSH | D - [JPUSHUtilities] JPUSHPostNotificationWithUserInfo name: kJPUSHNetworkDidSetupNotification (null)

已连接

2017-11-22 10:10:31.724326 JPushSwiftDemo[400:58494]  | JPUSH | D - [JPUSHSessionController] Action - connectUdp:

2017-11-22 10:10:31.727035 JPushSwiftDemo[400:58495]  | JPUSH | D - [JPUSHSessionController] Action - connectWithUdpCoreAddress:

2017-11-22 10:10:31.730670 JPushSwiftDemo[400:58494]  | JPUSH | D - [JPUSHUdpSocket] udp socket connected

2017-11-22 10:10:31.842053 JPushSwiftDemo[400:58495]  | JPUSH | D - [JPUSHSessionController] Action - doSendTcpRequest

2017-11-22 10:10:36.162735 JPushSwiftDemo[400:58495]  | JPUSH | D - [JPUSHReport] send report:(

        {

        activities =         (

        );

        date = "2017-11-22";

        duration = "80.59999999999999";

        itime = 1511310783;

        "session_id" = fcd3946ea400054246456205c5c352df;

        time = "08:33:03";

        timezone = "+8";

        type = "active_terminate";

    }

) log succed

2017-11-22 10:10:37.729723 JPushSwiftDemo[400:58495]  | JPUSH | I - [JPUSHLogin] 

----- login result -----

uid:6202527448 

registrationID:13165ffa4e0d77acd5b

2017-11-22 10:10:37.730805 JPushSwiftDemo[400:58495]  | JPUSH | I - [JPUSHLogin] 

----- login result -----

uid:6202527448 

registrationID:13165ffa4e0d77acd5b

2017-11-22 10:10:37.733899 JPushSwiftDemo[400:58467]  | JPUSH | D - [JPUSHTcpSocket] Got tcp command

2017-11-22 10:10:37.735613 JPushSwiftDemo[400:58495]  | JPUSH | D - [JPUSHSessionController] Action - onAckOrRespReceived:

2017-11-22 10:10:37.737334 JPushSwiftDemo[400:58467]  | JPUSH | D - [JPUSHSessionController] Event - onLoginRespond

2017-11-22 10:10:37.754156 JPushSwiftDemo[400:58495]  | JPUSH | D - [JPUSHUtilities] JPUSHPostNotificationWithUserInfo name: kJPUSHNetworkDidLoginNotification (null)

已登录

2017-11-22 10:10:37.756471 JPushSwiftDemo[400:58467]  | JPUSH | D - [JPUSHService] Action - registrationID

2017-11-22 10:10:37.759092 JPushSwiftDemo[400:58467]  | JPUSH | D - [JPUSHService] Action - registrationID

get RegistrationID

2017-11-22 10:10:37.767895 JPushSwiftDemo[400:58495]  | JPUSH | D - [JPUSHUdpSocket] send udp data

2017-11-22 10:10:37.771713 JPushSwiftDemo[400:58495]  | JPUSH | D - [JPUSHUdpSocket] send udp data succeed

2017-11-22 10:10:37.774889 JPushSwiftDemo[400:58495]  | JPUSH | D - [JPUSHUdpSocket] udp socket begin send behavior

2017-11-22 10:10:37.778060 JPushSwiftDemo[400:58495]  | JPUSH | D - [JPUSHSessionController] Action - doSendTcpRequest

2017-11-22 10:10:37.780914 JPushSwiftDemo[400:58495]  | JPUSH | I - [JPUSHDeviceTokenReport] try to upload device token:4d7556cafe3d8fcb8794192bfe1b66754147a98c31d4e8e16517c9d2b6fd7fb7

2017-11-22 10:10:37.783515 JPushSwiftDemo[400:58495]  | JPUSH | I - [JPUSHDeviceTokenReport] try to upload device token:4d7556cafe3d8fcb8794192bfe1b66754147a98c31d4e8e16517c9d2b6fd7fb7

2017-11-22 10:10:42.601766 JPushSwiftDemo[400:58467]  | JPUSH | D - [JPUSHTcpSocket] Got tcp command

2017-11-22 10:10:42.604186 JPushSwiftDemo[400:58495]  | JPUSH | D - [JPUSHSessionController] Action - onAckOrRespReceived:

2017-11-22 10:10:42.605867 JPushSwiftDemo[400:58467]  | JPUSH | I - [JPUSHDeviceTokenReport] upload device token success

2017-11-22 10:10:42.606770 JPushSwiftDemo[400:58467]  | JPUSH | I - [JPUSHDeviceTokenReport] upload device token success

(maple_leaf81) #22

这个是带调试的真机 控制台详细信息。


#23

1、日志打印一切正常

2、我上面说了,你registrationID也取到了,说明集成正常,且我查询消息也是成功发到了Apple服务器

3、那么你没有收到的可能就只有上面说的那些。

4、所以建议你 仔细检查,切换到4G网络,重新推送测试。或甚至可以考虑卸载重装再测试看。


(maple_leaf81) #24

我卸载好多回了,只是ipad没法用4g啊。


(maple_leaf81) #25

刚才测试 收到了推送信息,咋时好时坏,现在又收不到了。

发送编号 1511322454
Message ID 1158103035


#26

目前你推送的消息,在我们这边都是已经成功的发到了Apple服务器的。

1、需要另外说明的是,Apple服务器本就不保证apns 通知100%送达
2、可用自定义消息,走极光服务器下发,只是需要在前台才能接受,且默认不展示。

3、建议用我们 的demo配好证书bundle ID后测试参考对比。