Friday, October 16, 2026
HomeiOS Developmentapple pockets - pkpass not downloading on bodily iOS gadget

apple pockets – pkpass not downloading on bodily iOS gadget

[ad_1]

Background: I am studying Apple Pockets by making a barebones pattern app and am making an attempt to routinely replace a move. So as to take action, I perceive I must run an online server that sends push notifications to the gadget when it is time for the move to replace. I am utilizing Apple’s pattern code and working their Ruby webserver by way of localhost. It appropriately generates a .pkpass file, which I can add to Apple Pockets within the simulator by visiting the localhost web site or by dragging within the .pkpass file.

Downside: This course of would not work on my bodily iPhone. Once I go to the localhost on my iPhone, it reveals a 200 response code however comes with the popup “Safari can not obtain this file.” Even when I strive simply emailing the generated .pkpass file to myself, it will not open in Pockets.

The .pkpass have to be right as a result of it really works on the simulator…proper? Plus I additionally validated it utilizing this web site: https://pkpassvalidator.azurewebsites.internet and the whole lot checked out. So I am misplaced why it will not obtain on my bodily gadget. I would significantly respect any recommendation.

[ad_2]

RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Most Popular

Recent Comments