BadDeviceToken on PRODUCTION_APNS_HOST

342 views
Skip to first unread message

Ali Shahbour

unread,
Apr 1, 2016, 10:04:26 AM4/1/16
to pushy
Hello

When trying to send notification to DEVELOPMENT_APNS_HOST every thing work perfectly , but when trying to send to PRODUCTION i always get BadDeviceToken

i couldn't find a good explanation for this error

BR
Shahbour

Ali Shahbour

unread,
Apr 1, 2016, 11:21:59 AM4/1/16
to pushy

j...@turo.com

unread,
Apr 1, 2016, 11:47:02 AM4/1/16
to pushy
Right. To summarize:

  • Apps signed with a production certificate will generate push tokens for the production APNs environment.
  • Apps signed with any other certificate will generate push tokens for the development APNs environment.
  • Production tokens won't work in the development environment and vice versa.
-Jon
Reply all
Reply to author
Forward
0 new messages