生成新证书后推送通知不起作用 [英] Push notifications not working after generating new certificate

查看:33
本文介绍了生成新证书后推送通知不起作用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的应用被配置为使用推送通知并且运行良好.我的证书已过期,另一个团队成员创建了一个新证书并将 p12 文件发送给我使用.获得证书并更新 mobileprovision 以使用此新证书.

My app was configured to use push notifications and was working fine. My certificate expired and another of the team members created a new cert and sent me the p12 file to use. Got the certificate and updated the mobileprovision to use this new certificate.

我还为推送通知重新生成了 pem 文件.但现在我的推送通知不起作用.

I also regenerated the pem files for push notification. But now my push notifications don't work.

我已经尝试过两次生成 pem 文件,但 apns 不起作用.

I tried generating the pem files twice already but apns wouldn't work.

有人可以告诉我可能是什么问题吗?

Can someone let me know what the issue could be?

谢谢.

推荐答案

  1. 对设备执行软重置
  2. 关闭设备上的推送通知并再次打开它们
  3. 关闭应用的推送通知,然后在设置中重新打开

不确定是什么部分造成了差异,但推送通知再次起作用!!耶!!

Not sure what part made the difference but push notifications work again!! Yay!!

这篇关于生成新证书后推送通知不起作用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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