VoIPPush
VoIPPush copied to clipboard
推送没有收到
我按照步骤集成了, 到最后运行了PHP,PHP文件中的信息都填好了,最后也提示 Connected to APNS Message successfully delivered 但是手机上并没有收到推送(iOS10,iOS11设备都没有收到)
我重新按照https://stackoverflow.com/questions/27245808/implement-pushkit-and-test-in-development-behavior这个弄了一遍 还是不行 到底是什么原因啊
先检查你工程配置、capabilities中是否开启了推送服务跟voip 服务,然后再检查你的推送环境是否跟你工程环境一致
最新版的xcode的capabilities中没有了VoIP选项,然后我再info.plist文件中添加了App provides Voice over IP services这个选项,整个环境都是在测试环境下进行的,PHP文件中也是链接的测试服务器,刚看到didReceiveIncomingPushWithPayload这个方法有更新,然后在demo里面都改成了对应的方法,还是不能收到推送,请教下大神怎么搞
2017-11-17 15:48:08.559346+0800 VoIPTest[434:98366] <UNNotificationSettings: 0x1c409d1a0; authorizationStatus: Authorized, notificationCenterSetting: Enabled, soundSetting: Enabled, badgeSetting: Enabled, lockScreenSetting: Enabled, carPlaySetting: NotSupported, alertSetting: Enabled, alertStyle: Banner>
2017-11-17 15:48:08.559433+0800 VoIPTest[434:98366] request authorization succeeded!
2017-11-17 15:48:08.628822+0800 VoIPTest[434:98308] token is -------------------------
2017-11-17 15:48:08.654505+0800 VoIPTest[434:98308] refreshPreferences: HangTracerEnabled: 0
2017-11-17 15:48:08.654581+0800 VoIPTest[434:98308] refreshPreferences: HangTracerDuration: 500
2017-11-17 15:48:08.654607+0800 VoIPTest[434:98308] refreshPreferences: ActivationLoggingEnabled: 0 ActivationLoggingTaskedOffByDA:0
log打印出来的这些信息
加我qq 605950495
我按照步骤集成了, 到最后运行了PHP,PHP文件中的信息都填好了,最后也提示 连接到APNS 消息已成功发送 但是APP还是没有收到消息
2018-03-08 16:06:28.980686+0800 VoIPTest[4899:1513108] <UNNotificationSettings: 0x1700963f0; authorizationStatus: Authorized, notificationCenterSetting: Enabled, soundSetting: Enabled, badgeSetting: Enabled, lockScreenSetting: Enabled, alertSetting: NotSupported, carPlaySetting: Enabled, alertStyle: Banner> 2018-03-08 16:06:28.980790+0800 VoIPTest[4899:1513108] request authorization succeeded! 2018-03-08 16:06:29.045602+0800 VoIPTest[4899:1513060] token=================
https://www.jianshu.com/p/f3e0e2f0b8e8
| | 郭文超 邮箱:[email protected] |
签名由 网易邮箱大师 定制
在2018年03月08日 16:08,Sunny 写道:
2018-03-08 16:06:28.980686+0800 VoIPTest[4899:1513108] <UNNotificationSettings: 0x1700963f0; authorizationStatus: Authorized, notificationCenterSetting: Enabled, soundSetting: Enabled, badgeSetting: Enabled, lockScreenSetting: Enabled, alertSetting: NotSupported, carPlaySetting: Enabled, alertStyle: Banner> 2018-03-08 16:06:28.980790+0800 VoIPTest[4899:1513108] request authorization succeeded! 2018-03-08 16:06:29.045602+0800 VoIPTest[4899:1513060] token=================
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.