开发者

pushnotification not working when server changes

开发者 https://www.devze.com 2023-03-17 03:55 出处:网络
I was developing an application with push notification enabled. It is working perfectly in the local server (company server - PHP), but when I change the server to the client server, the push notifica

I was developing an application with push notification enabled. It is working perfectly in the local server (company server - PHP), but when I change the server to the client server, the push notification is not working.

I used both the development and distribution profile with push开发者_如何学Python notification enabled.

Please help me to overcome this situation.


Are still using a Development Certificate when your client has a Ad Hoc (or App Store) provisioned App?

If your client has the App provisioned / signed for Ad Hoc (or App Store) then you need to use the Production certificate to send Push Notifications via the APNS. You also need to make sure you connect to the Apple's production server, and not the sandbox alternative.

It seems a little odd that Ad Hoc has to use the production versions of Certificate and Push Notification server, but that's how it is.

0

精彩评论

暂无评论...
验证码 换一张
取 消