推送通知在沙盒模式下不起作用
在我们的组织中,我们正在尝试熟悉推送通知。我们的管理员生成了一个 SSL 证书和一个应用程序 ID,我的一位同事用它来开发一个具有推送通知的应用程序,该应用程序运行良好。之后,管理员禁用了停止推送的证书通知工作。现在我正在做同样的事情,为此目的,证书再次启用。但是当我在示例应用程序中在我的计算机上使用它时,它不起作用。更奇怪的是,我运行了我同事计算机上的应用程序而且现在也没有收到任何通知!!!我尝试用重新启用的证书替换旧证书,但这也不起作用。我应该做什么?
In our organization we are trying to get familiar with push notifications.Our administrator generated a SSL certificate and an app id which one of my colleagues used for developing an app having push notifications which was working nicely.After that administrator disabled the certificate which stopped push notifications working.Now I am working on the same and for that purpose the certificate is enabled again.But When I used it on my machine in a sample app it didn't work.More strangely I ran the app which was on my colleague's machine and it also doesn't receive any notifications now!!!I tried to replace old certificate by the re-enabled one but that also doesn't do the job.What should I do?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
如果您撤销证书并重新创建它,则必须下载新证书,因为它不是同一个证书,旧证书已过期。
If you revoke a certificate, and recreate it, you must download the new certificate because it's not the same certificate, the old has expired.