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

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

问题描述

我的应用程序配置为使用推送通知和工作正常。我的证书过期,另一个团队成员创造了一个新的证书,并寄给我的P12文件来使用。获得认证证书并更新为使用该新证书的mobileprovision。

我也重新生成PEM文件推送通知。但现在我的推送通知不工作。

我试图生成PEM文件已经两次,但APNS是行不通的。

有人可以让我知道这个问题可能是什么?

感谢。


解决方案

  1. 执行设备
  2. 的软复位
  3. 关机状态推送通知在设备上,再次打开它们

  4. 熄灭推送通知的应用程序,并在设置再次打开它们

不知道哪一部分作出的差异,但推送通知再次合作!耶!

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.

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

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

Can someone let me know what the issue could be?

Thanks.

解决方案

  1. Perform a soft-reset of the device
  2. Turned off push notifications on the device and turned them on again
  3. Turned off push notifications for the app and turned them on again in the settings

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

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

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