[英]unable to get push notification using Urban airship push notification service?
我正在测试以查看是否收到推送通知。所以我在urabnairship.com上创建了一个帐户,当我发送消息时说可以发送消息,但是我无法在设备上收到任何消息。有人知道使用该消息吗? urbanairship.i装有iphone 3g,并且我已关闭3g且飞行模式和wifi已开启。我正在完美获取设备令牌,顺便说一下,我的设备已被激活并且被判入狱。
Rahul, 拉胡尔,
As I said in response to your support email (which you sent after posting this, I think), there are a few different reasons why you might have trouble receiving notifications. 正如我在回复您的支持电子邮件(我认为是在发布此邮件后发送的)中所说的那样,有几种不同的原因使您可能难以接收通知。 But now you say that your device is unlocked, and that changes things;
但是现在您说您的设备已解锁,并且改变了一切; while you got a device token, which is a good step, your device still might be having trouble connecting to Apple's push endpoints.
尽管您获得了设备令牌,这是一个很好的步骤,但是您的设备可能仍然无法连接到Apple的推送端点。
Best I can suggest is that you try out the extra apsd logging mobile provision an Apple engineer posted, to see if the connection is opening correctly. 最好的建议是,您可以尝试苹果工程师发布的额外apsd日志记录移动设备设置 ,以查看连接是否正确打开。 If it is (and you've gotten sandbox push notifications before), then I'd do what I said in the email, and confirm that the bundle identifier, provisioning profile, and dev/production settings all match, as that's the most common failure.
如果是这样(并且您之前已经收到过沙箱推送通知),那么我将按照电子邮件中的说明进行操作,并确认捆绑包标识符,配置文件和开发/生产设置都匹配,这是最常见的失败。
You might want to respond via the support email, though -- I certainly check that more than SO. 不过,您可能希望通过支持电子邮件进行回复-当然,我的检查要多于SO。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.