passbook

iOS 6 Passbook: Open Passbook app from my app

谁说我不能喝 提交于 2019-11-30 07:57:30
I am building an application related to the Passbook app. Basically I am generating a boarding pass for a flight ticket and adding it to Passbook. That part is working fine. But, I want to open the Passbook app from my app to see the pass details. I have seen that Apple has removed the URL scheme options. How can I achieve this? I had the same problem, it worked well with the emulator but crashed on the device. 1 - Double check the Entitlements 2 - I used this when the _pass is already in the library: if([_passLibrary containsPass:_pass]) { [[UIApplication sharedApplication] openURL:[[

How to force links to open in iOS Safari?

☆樱花仙子☆ 提交于 2019-11-30 05:28:55
问题 my webpage has links to download Passbook .pkpass files. This works fine in Safari for iOS since Apple's browser supports the mime type: application.com/vnd.apple.pkpass Facebook's iOS browser (as well as others) does not (yet) support this mime type. Therefore, if a user follows a link to my site from within Facebook, they can't download my Passbook files. However, if they click on 'Open in Safari' then they can download the file. How can I code my webpage such that clicking on a link will

Pkpass on Android

女生的网名这么多〃 提交于 2019-11-30 02:08:27
There is an android app, Passwallet, that is able to interpret pkpass files intented for the apple app Passbook ( https://play.google.com/store/apps/details?id=com.attidomobile.passwallet ) I was wondering how to read pkpass files. Pkpass files seem to be zip files with all the information inside in json files. Is there a default structure for the pkpass files? If so what is it? And what would be a good way to import that into a android app? For the people who wonder how read the content of the pkpass file refer to the following code: I set up this activity with the intent filter for pkpass

How to make a push notification for a pass

随声附和 提交于 2019-11-26 20:44:33
I made a pass web service already. Next, I need to make a push notification when my pass is updated. From Updating a pass of passkit programming guide, it is not in detail. Can you explain this in detail ? The requirements and protocol for push notifications is documented in the Push Notification Programming Guide . There are a few special considerations for Passbook: All Pass push requests must be sent to the production APNS server (gateway.push.apple.com on port 2195) You must use your Pass Type ID certificate and key to authenticate with the APNS server (do not use App APNS certificates)

How to make a push notification for a pass

江枫思渺然 提交于 2019-11-26 07:43:54
问题 I made a pass web service already. Next, I need to make a push notification when my pass is updated. From Updating a pass of passkit programming guide, it is not in detail. Can you explain this in detail ? 回答1: The requirements and protocol for push notifications is documented in the Push Notification Programming Guide. There are a few special considerations for Passbook: All Pass push requests must be sent to the production APNS server (gateway.push.apple.com on port 2195) You must use your