I made a small app to test push notifications. Followed the tutorial on how to generate the necessary files for sending the notification server-side.

It worked fine, but then I needed to change the provisioning profile to add a few more devices, and and didn't receive the push notifications anymore.

Do I need to change the .pem certificate in this case?

有帮助吗?

解决方案

I'm going to disagree with Jaeger... it's not possible to add a device to a profile without regenerating a new provisioning profile. So, if you add a device, you must re-download the new provisioning profile and re-create the .pem file like you did before.

其他提示

No, You will need not to generate .PEM file, if you just add new devices to the provisioning profiles. Yes, That will require to regenerate if development certificate(.P12) or AppId is changed.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top