【发布时间】:2017-06-30 08:29:38
【问题描述】:
我在推送通知服务器中使用 PushSharp 4.0.10。
我可以向 Android 发送推送通知,但是当我尝试向 ios 发送推送通知时,出现错误:
Something went wrong in Comunications Worker:
Method name -> PushNotifications.DispatchPushNotifications()
Message -> There is an error sending iOS push notifications.
Exception - > Specified argument was out of the range of valid values.
Parameter name: You are using a certificate created for connecting only to the Sandbox APNS server but have selected a different server environment to connect to.
我已经创建了一个证书“Apple Push Notification service SSL (Sandbox & Production)”以及个人证书“iOS App Development”和“App Store and Ad Hoc”。在这两种情况下,我都会遇到相同的错误。
有没有正确的生成证书的方法?
您能否指出正确的方法,或者是否有任何其他错误或缺少更新?
感谢您的宝贵时间。
【问题讨论】:
标签: ios ionic-framework push-notification certificate pushsharp