使用PushSharp发送Apple推送通知时出错

时间:2015-02-07 06:49:15

标签: ios apple-push-notifications pushsharp server-error

我正在为AdHoc用户创建推送通知。我创建了配置文件和生产SSL证书,.p12.pem证书。我创建了iPA和配置文件并上传到diawi.com。从那里我可以正确下载配置文件和应用程序。但是当我尝试使用" gateway.push.apple.com"从服务器运行它时并制作RegisterAppleService(newApplePushChannelSettings(true,appleCert,""));

我收到的错误是: -

Waiting for Queue to Finish...
Channel Created for: PushSharp.Apple.ApplePushService
Failure: PushSharp.Apple.ApplePushService -> Exception of type 'PushSharp.Apple.
NotificationFailureException' was thrown. -> {"aps":{"alert":"Hello vikas!","bad
ge":0,"sound":"sound.caf"}}
Queue Finished, press return to exit

请帮我解决问题。

0 个答案:

没有答案