Remix.run Logo
ceejayoz 4 days ago

I don’t pay for it, but anyone with an Apple dev account can do the same with Passkit. This just makes it easy to test it out.

latexr 4 days ago | parent [-]

> anyone with an Apple dev account can do the same with Passkit.

Yes, that’s what the article is about, I read it all. But the author also mentioned the screenshot approach before using Passkit and called it the naive approach, so it’s likely they did something considerably simpler.

Feels like I’m on the worst parts of Stack Overflow and Reddit. I know other options exist, I’m asking about one specific approach. It is OK to not reply or say “I don’t know how to do it like that”. That’s fine, I don’t know either and I’m not embarrassed by that, that’s why I’m asking. I want to learn a new trick.

ceejayoz 4 days ago | parent [-]

> But the author also mentioned the screenshot approach before using Passkit and called it the naive approach, so it’s likely they did something considerably simpler.

I guess I didn't realize it was that simple a question.

The "how" there is "take a screenshot of the first-party app". In many cases (especially with physical barcodes like a loyalty card you can just photograph), that's all you need; just keep it in your photo roll. It didn't work in this case because the QR codes contain some sort of signature or expiration date that prevents a screenshot from last week from working this week.

If it has to be in wallet, https://developer.apple.com/documentation/passkit/pkpasstype....