How to use Apple Push Notifications to update a Passbook

Posted by keithcelt on Stack Overflow See other posts from Stack Overflow or by keithcelt
Published on 2012-11-28T22:53:40Z Indexed on 2012/11/29 5:04 UTC
Read the original article Hit count: 1123

Filed under:
|
|
|

I have created Passbooks and they are loaded onto my customer's iOS devices. I need to update these Passbooks. According to the Passbook docs you need to use the Apple Push Notification Service (APNS) to trigger a pull from the iOS device in order to update the Passbook. This APNS push consists of a "push token" and a "pass type id." However, the APNS body is to be left empty.

The APNS docs talk about a "device token" needed to send a push notification but make no mention of a "push token."

Is an APNS "device token" the same as a Passbook "push token"? How do I send the Passbook "pass type id" in my APNS push?

© Stack Overflow or respective owner

Related posts about ios

Related posts about apns