passbook

signpass error:Couldn't find an identity for pass.com.xxx.xxxx

青春壹個敷衍的年華 提交于 2019-12-10 15:12:19
问题 I use the signpass form the Apple passbook demo passbook_materials to create a .pkpass file I have created my pass type ID and change the passTypeIdentity in the pass.json. When I execute: ./signapss -p ./myPass in terminal, it shows: Couldn't find an identity for pass.com.xxx.xxx. Does someone know this? 回答1: You need to install your certificate into your keychain (double clicking on the file downloaded from Apple will suffice). You need the Apple WWDR certificate installed in your keychain

How to check whether cancel or add button is pressed in PKAddPassesViewController

时光总嘲笑我的痴心妄想 提交于 2019-12-10 13:25:58
问题 By default passes are loaded in PKAddPassesViewController . Is there any way to know which button is pressed on the view. //this method runs when user either click on the cancel or add button -(void)addPassesViewControllerDidFinish: (PKAddPassesViewController*) controller { [self dismissViewControllerAnimated:YES completion:nil]; } I want to get the title of the button that is pressed in the PKAddPassesViewController . I have tried the below code to access the title but i am getting null .

Integrating and working with .pkpass passes in Xamarin Android app

拟墨画扇 提交于 2019-12-10 11:35:28
问题 I'm developing a Xamarin Android app and I need the ability to be able to work with Passes (PassKit passes for example (JSON)). I need to be able to list all the passes in a ListVew and be able to open and display the pass. Also be able to save them to a wallet such as PassWallet or Pass2u. I don't need the ability to create them, just view them, and save them to a wallet or discard them. There seems to be an example Xamarin iOS app which does exactly what i need here but of course I need to

Integrating and working with .pkpass passes in Xamarin Android app

丶灬走出姿态 提交于 2019-12-08 13:45:29
I'm developing a Xamarin Android app and I need the ability to be able to work with Passes (PassKit passes for example (JSON)). I need to be able to list all the passes in a ListVew and be able to open and display the pass. Also be able to save them to a wallet such as PassWallet or Pass2u. I don't need the ability to create them, just view them, and save them to a wallet or discard them. There seems to be an example Xamarin iOS app which does exactly what i need here but of course I need to be able to do this in Xamarin Android. I've been researching this for hours but don't know how to

Generate Apple Passbook Coupon/S-MIME Signature in Visual Studio

我怕爱的太早我们不能终老 提交于 2019-12-08 01:06:46
问题 I am trying to create a Apple wallet passes in my system, after reading Different S/MIME signature between OpenSSL and C# and Apple Passbook coupons from C#, the system can create .pkasss automatically now. And my problem is signature cannot create successfully in actual . If I using iPhone and try to open the .pkpass file, it can't be open!! I find out that is the problem is coming form signature, if I using mac to create a signature in terminal, it create a 3326bytes size signature; my code

Passkit push notifications not working with Urban Airship

六眼飞鱼酱① 提交于 2019-12-05 12:32:06
I have a pass installed. When installed on a device it registers to my server, the device id is also registered with Urban Airship services. So far so good. When I try to send a push message from the dashboard at urban airship, or curling, or let the server send the push, it is never received by the device. Is there anything special I have to think about when pushing passkit updates? After a lot of tinkering I got this to work. The solution is not intuitive: Make sure the 'application' you create on Urban Airship is pushing to Apple's production servers. Passbook will not recognize passbook

passkit - pass not refreshing via push notification. (Server response was malformed)

社会主义新天地 提交于 2019-12-04 12:46:17
I have successfully integrated passkit but I am facing issue when updating passbook via push notification. Notification successfully received to wallet but pass not updated. Following are steps which I have implemented: Used XMPP server (PHP). used this library in php to generate pass ( https://github.com/tschoffelen/PHP-PKPass ). I have replaced pass type and team identifier. Swift code to add pass to wallet. Pass successfully created and add to wallet. To refresh pass "pull to refresh" is working in wallet app. Here is my full code (PHP + SWIFT): https://www.dropbox.com/sh/e3wk8bwqgv8zs3f

How get feedback from APNs when sending push notification

馋奶兔 提交于 2019-12-04 09:39:57
问题 Now I can send push Token from device that has installed a pass already, but I don't know how the feedback work in this point. From apple docs, Apple Push Notification service (APNs) provides feedback to server to tell if pushToken is valid or not. How to get this feedback ? I try this code, but a lot errors. This is the code: <?php $cert = '/Applications/MAMP/htdocs/passesWebserver/certificates.pem'; $ctx = stream_context_create(); stream_context_set_option($ctx, 'ssl', 'local_cert', $cert);

How to built and print a scannable Pass for Passbook in iOS7

点点圈 提交于 2019-12-04 05:18:32
i can't figure out how to build a OR Code for a Pass that is scannable with the new QR code scanner in iOS7' Passbook App. When I try to scan a QR Code with a link to a working Pass, the App says it is 'No Pass available for this Card'. Card, hum?! Any ideas? For a pass to install, the following criteria have to be met: The link must be https The URL must return a valid .pkpass bundle The Content-Type header must be application/vnd.apple.pkpass Unfortunately, these requirements are not yet documented, but they are mentioned in the WWDC session What's new in Passbook The URL contained in the QR

Sharing Passbook Passes .pkpass

萝らか妹 提交于 2019-12-03 20:34:21
I created a simple demo passbook pass in iOS 6. I emailed it to myself and it works fine. Now I need to share it with people. I uploaded the .pkpass file to the server but safari is not able to recognize the file format or mime type and hence it does not download it. Any ideas how can I share it? Safari should recognise these. I think you probably need to add the MIME type to your web server, so it knows how to present the file to visitors. Edit: the MIME type you need to add to your web server is application/vnd.apple.pkpass Passbook is only availiable on the iPhone 5 or phone users that have