解析推送通知的iOS [英] Parse Push Notification iOS

查看:95
本文介绍了解析推送通知的iOS的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经做了的事情推在 Parse.com (这是工作,所有),然后有人问我创建于解析占公司和设置他们,使他们能够自己管理。好了,却没有意识到,有网站上的导出按钮,我删除了应用程序在我的帐户,并创建了一个帐户为他们增加了应用他们的帐户。我添加了所有正确的证书和更新的应用程序和客户端密钥,它不会发送,在推送通知标签,它会显示我有收件人(我的测试设备),但是当我点击发送,它会说做了,但没有出现我的设备上。所以,是不是太聪明了,我已删除的应用程序,并重新创建它在我的帐户(思考可能有一些错误与其他帐户)。现在好了,它甚至不会在我的帐户工作。我已创建的所有新证书和一切,我想不通为什么它不再次working.And,在推送通知标签,它会显示我有收件人(我的测试设备),但是当我点击发送,它会说做,但什么都不会出现在我的设备上。帮助?

I had the Push thing done over with at Parse.com (It was working and all) and then I was asked to create an account on parse for the company and set them up so they can manage it on their own. Well, not realizing that there was a Export button on the website, I deleted the app on my account and created an account for them and added the app to their account. I added all of the correct Certs and updated the App and Client keys and it wouldn't send it,and On the Push Notifications tab, it will show that i have recipients (My test Devices) but when I hit send, it will say Done, but nothing will appear on my device. So, being not too smart, I deleted that app and recreated it on my account (Thinking there might be something wrong with the other account). Well now it won't even work on my account. I have created all new certs and everything and i can't figure out why it is not working.And again, On the Push Notifications tab, it will show that i have recipients (My test Devices) but when I hit send, it will say Done, but nothing will appear on my device. Help?

我什么可能是想到的是,该装置是要记住从旧帐户的权限APNS,我可能是对的?

My thought about what it might be is that the device is remembering the APNS Permission from the old account, Could I be Right?

推荐答案

我遇到了这个而回。对我来说,这是差异之间的开发人员构建和发布版本。您可以在苹果的供应门户网站看到,有2个可以设置为你的应用程序推送证书。一个是产能的释放,另一种是为开发人员测试。当你建立你的应用程序进行测试,它会自动查找开发人员认证。当你做一个发布版本它看起来释放证书。

I ran into this a while back. For me it was the difference between developer builds and release builds. You'll see in Apple's provisioning portal that there are 2 push certificates you can set up for your app. One is for production release and the other is for developer testing. When you build your app for testing it automatically looks for the developer cert. When you do a release build it looks for the release cert.

所以...请确保您上传了正确的推证书解析。以我为例解析会说,消息已被发送到设备,但是我从来没有看见他们来通过,因为解析是他们不匹配我的具体构建类型的证书发送给苹果公司。

So... Make sure you have uploaded the correct push certificate to Parse. In my case Parse would say that messages had been sent to devices but I never saw them come through because Parse was sending them to Apple with a certificate that did not match my particular build type.

这篇关于解析推送通知的iOS的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆