Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

推送没有收到 #5

Open
wenchao8023 opened this issue Nov 17, 2017 · 8 comments
Open

推送没有收到 #5

wenchao8023 opened this issue Nov 17, 2017 · 8 comments

Comments

@wenchao8023
Copy link

我按照步骤集成了,
到最后运行了PHP,PHP文件中的信息都填好了,最后也提示
Connected to APNS
Message successfully delivered
但是手机上并没有收到推送(iOS10,iOS11设备都没有收到)

@wenchao8023
Copy link
Author

@oopsr
Copy link
Owner

oopsr commented Nov 17, 2017

先检查你工程配置、capabilities中是否开启了推送服务跟voip 服务,然后再检查你的推送环境是否跟你工程环境一致

@wenchao8023
Copy link
Author

最新版的xcode的capabilities中没有了VoIP选项,然后我再info.plist文件中添加了App provides Voice over IP services这个选项,整个环境都是在测试环境下进行的,PHP文件中也是链接的测试服务器,刚看到didReceiveIncomingPushWithPayload这个方法有更新,然后在demo里面都改成了对应的方法,还是不能收到推送,请教下大神怎么搞

@wenchao8023
Copy link
Author

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打印出来的这些信息

@oopsr
Copy link
Owner

oopsr commented Nov 17, 2017

加我qq 605950495

@854907646
Copy link

我按照步骤集成了,
到最后运行了PHP,PHP文件中的信息都填好了,最后也提示
连接到APNS
消息已成功发送
但是APP还是没有收到消息

@854907646
Copy link

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=================

@wenchao8023
Copy link
Author

wenchao8023 commented Mar 15, 2018 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants