推送通知生成新的证书后不工作 [英] Push notifications not working after generating new certificate
问题描述
我的应用程序配置为使用推送通知和工作正常。我的证书过期,另一个团队成员创造了一个新的证书,并寄给我的P12文件来使用。获得认证证书并更新为使用该新证书的mobileprovision。
我也重新生成PEM文件推送通知。但现在我的推送通知不工作。
我试图生成PEM文件已经两次,但APNS是行不通的。
有人可以让我知道这个问题可能是什么?
感谢。
- 执行设备 的软复位
- 关机状态推送通知在设备上,再次打开它们
- 熄灭推送通知的应用程序,并在设置再次打开它们
不知道哪一部分作出的差异,但推送通知再次合作!耶!
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.
- Perform a soft-reset of the device
- Turned off push notifications on the device and turned them on again
- 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屋!