我正在为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
请帮我解决问题。