passbook

Passbook Update Push not shown on Lockscreen

牧云@^-^@ 提交于 2019-12-13 04:24:02
问题 I am playing with apples Passbook service. I have a really strange behaviour on all devices. If I send a push via APNS to the device to let them know that there is a update for a certain pass they do the update but they do not show any notification on the Lockscreen on the device. Right now I am logging the whole communication between my PHP-Webservice and the APNS. I always answer with headre 200, and the requested answer. (1st Serials; 2nd Pass.pkpass) and the device does the update as I

How to generate GET request to webServiceURL/version/devices/deviceLibraryIdentifier/registrations/passTypeIdentifier?passesUpdatedSince=tag

会有一股神秘感。 提交于 2019-12-12 06:29:39
问题 After creating a pass, I can add it to device, register device by saving data to database. Next, how can I generate GET request to webServiceURL/version/devices/deviceLibraryIdentifier/registrations/passTypeIdentifier?passesUpdatedSince=tag ? I see this in console: Apr 4 10:08:26 CamMobs-iPod4 passd[12098] <Warning>: Generating GET request with URL <http:/192.168.1.202:8888/passesWebserver/v1/devices/02d6566cc59dc34e3abd116eed498898/registrations/pass.cam-mob.passbookpasstest> Apr 4 10:08:26

Update Passbook wallet failed to connect

旧城冷巷雨未停 提交于 2019-12-12 04:16:21
问题 i'm struck with update wallet push notiifcation,i used bellow code,server not connected error. I missed any credentials.please help to me ,fix this issue. I registered my passbook and get back pushtoken to server. this key same as the passbook generate certificate key. $certifile = 'passbook/certificates/AppleWWDRCA.pem'; $passphrase = 'xxxxxxxx'; $trust =''; $url = 'ssl://gateway.push.apple.com:2195'; $ctx = stream_context_create(); stream_context_set_option($ctx, 'ssl', 'local_cert',

Apple wallet pass not shown notification message

喜你入骨 提交于 2019-12-12 00:46:12
问题 I created an eventTicket pass for apple wallet. All working fine, passes added to Wallet, devices are register and I am able to push notification and update the passes successfully. The only problem I've got it's not showing the change message neither adding the notification to the Notification Center. This are an example of the passes pass.json: First pass sent { "formatVersion" : 1, "passTypeIdentifier": "pass.code.paq.test", "serialNumber": "14", "teamIdentifier": "TE4545WNZ9",

What I have to do for logging error by passbook web service reference

百般思念 提交于 2019-12-11 19:17:34
问题 in Logging Errors, device sends POST request to webServiceURL/version/log, so what server have to do in this point ? 回答1: To log the output to the PHP log you can use something like: $log_items = json_decode(@file_get_contents('php://input'))->logs; foreach($log_items as $key => $log_message) error_log("Passbook Error Log: " . $log_message, 0); 来源: https://stackoverflow.com/questions/15828852/what-i-have-to-do-for-logging-error-by-passbook-web-service-reference

How to get last-modified of the pass that is added by user dynamically

怎甘沉沦 提交于 2019-12-11 16:20:00
问题 Before I had a pass in my server and I got last-modified by using this: header('Last-Modified: ' . date("D, d M Y H:i:s", filemtime('/Applications/MAMP/htdocs/passesWebserver/DigiClubCard.pkpass')) . ' GMT+07:00'); Now I don't have any pass in my server and I only have data of pass in database, so what should I change this header in order to get last-modified of the pass? 回答1: If you are sending a new, dynamically created pass, to create a header with the current time you can: // Tell PHP to

Apple Wallet Passes : Update Calls trigger

浪子不回头ぞ 提交于 2019-12-11 15:27:33
问题 There are numerous articles on "how to implement update service" is already present. However, I have serious question below: when will pass get updated technically? what is the trigger for updating? When will be passbook's update service be called? when update push notification is clicked by user when pass is opened by user silently done in background when automatic update is off and user opens a pass Please help 回答1: Pass updates can be initated in one of two ways: The users does a pull-to

How to debug iBeacons and Passbook

℡╲_俬逩灬. 提交于 2019-12-11 13:23:44
问题 I have a pass (which eveyrthing works on, pushs, registrations, pull to refresh, locations, etc) that I've created a Beacons array on. It has a dictionary with a UUID, message, major and minor for an Estimote iBeacon. "beacons": [ { "proximityUUID":"B9407F30-F5F8-466E-AFF9-25556B57FE6D", "major":5723, "minor":49600, "relevantText":"Welcome to goldstar" } ], I can see the iBeacon in the Estimote app, but I get no message on the lock screen for my Passbook. Is there a trick to this? Are there

Passbook: Couldn't find a passTypeIdentifier in the pass?

不羁的心 提交于 2019-12-11 07:41:40
问题 I followed all steps as per Apple recommendations to create a passbook but whenever I use the signpass tool (provided by apple) to sign the pass package I get "Couldn't find a passTypeIdentifier in the pass" Any thoughts on what could be the problem? Spent my weekend on this! thank you 回答1: When signpass tries to compile an invalid pass.json file multiple errors occur. The first error returned is "Couldn't find a passTypeIdentifier in the pass". This error can be displayed even if there is

sending passbook update with pushsharp

旧城冷巷雨未停 提交于 2019-12-10 16:27:15
问题 I'm trying to test talking to apple's push notification sandbox server. I made a certificate following this link (enabled push notification, requested certificate authority, uploaded, generated cert, export p12) I made a sample C# console application that looks like the following PushBroker push = new PushBroker(); var appleCert = File.ReadAllBytes(@"devapns.p12"); push.OnNotificationSent += NotificationSent; push.OnChannelException += ChannelException; push.OnServiceException +=