Thursday, September 24, 2015

iOS Push Notification Works in Apps Installed via Xcode but Not Installed via iTunes

iOS Push Notification Works in Apps Installed via Xcode but Not Installed via iTunes



Two easy steps to check and resolve this issue:

1) If your iOS mobile device is capable of using the cellular data network, check that it has an active cellular data plan. Turn off Wi-Fi in Settings and see if you can still browse the web with Safari, for example. On the other hand, if the push service is using Wi-Fi, any firewalls between your device or computer and the Internet must allow TCP traffic to and from port 5223. To check open ports, you can use: netstat -an

2) Make sure you are using "gateway.push.apple.com" and not "gateway.sandbox.push.apple.com".




No comments:

Post a Comment