We tested the application in development mode. Created for this certificate development. On the server downloaded ssl certificate. And everything worked. The application passed the device token, and the server sent a push. And when it came to publishing, the application was transferred to the distribution mode, and now the certificate for the production version is already on the server. But now the pushes do not come. The application has already been in store for a month, and the pushes are not working. What could be the reason? Did anyone have it like that?
- Do you use your server to send? Or use other services? For APNS there are two different links, one for the dev version of the other for production, make sure that your release build uses the correct link. PS link is indicated on the server - Vitali Eller
- I was not even too lazy and found you links :) dev - gateway.sandbox.push.apple.com 2195 release - gateway.push.apple.com 2195 - Vitali Eller
- @VitaliEller yes the link was not the one. But after changing to ssl: //gateway.push.apple.com: 2195, the push still does not come. I also tried the APN Tester Free application for testing, I entered the token received from the device and the certificate there, I also ticked AdHoc / Production, but the push didn’t come either. - cheerful_weasel
- Although when a lot of time had passed after the change of the link to the correct one, the fluffs finally began to arrive. Apparently it took time. - cheerful_weasel
- Added as an answer. I am glad that everything worked! - Vitali Eller
|
1 answer
For APNS there are two different links, one for the dev version of the other for release , make sure your release build uses the correct link .
dev - gateway.sandbox.push.apple.com 2195 release - gateway.push.apple.com 2195 Also a pretty good tool for testing push notifications
|