Posts

Post not yet marked as solved
6 Replies
8.1k Views
I'm using the php code below to serve the pkpass file to the users...<?php $pkpass_file = 'passwebservice/output/abc123.pkpass'; header("Pragma: no-cache"); header("Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0"); header("Content-Type: application/vnd.apple.pkpass"); header('Content-Disposition: attachment; filename="abc123.pkpass"'); clearstatcache(); $filesize = filesize($pkpass_file); if($filesize) header("Content-Length: ". $filesize); header('Content-Transfer-Encoding: binary'); if (filemtime($pkpass_file)) { date_default_timezone_set("UTC"); header('Last-Modified: ' . date("D, d M Y H:i:s", filemtime($pkpass_file)) . ' GMT'); } flush(); readfile($pkpass_file); ?>On Safari in iOS, the pkpass can be downloaded and added to Wallet successfully.But on Chrome in iOS, it says "Sorry, your Pass cannot be installed to Passbook at this time."A similar issue was reported at Google at https://productforums.google.com/forum/#!topic/chrome/mzoEVvqi6rsMay I know if Passes can be downloaded from Chrome in iOS and added to Apple Wallet?Is there an official reason if it can't be done? Thanks!
Posted
by killdurst.
Last updated
.