Search code examples
iosobjective-ciphoneios7ios8

How to test APNS for adHoc Users?


I'm receiving notification in development mode but when I try to check Push Notification for AdHoc users, The AdHoc users get nothing. I' know, I'm doing something wrong but not able to figure it out. Please Help me to check APNS for AdHoc Users. Thanks in advance


Solution

  • First of all make sure you install production APN certificates on your server, not development certificates.

    After that make sure, you are sending the notification to right server URL

    • Sandbox: gateway.sandbox.push.apple.com, port 2195. (for the development)
    • Production: gateway.push.apple.com, port 2195. (for the release)

    Still you have the same problem, try this App. APN Tester