Android icon indicating copy to clipboard operation
Android copied to clipboard

Update pkpass files from the web

Open TheLastProject opened this issue 9 months ago • 5 comments

Pkpass files can be updated online: https://developer.apple.com/documentation/walletpasses/adding-a-web-service-to-update-passes

While the documentation suggests this is mostly for changes like boarding gate for plane travel, some organizations seem to use it to "expire" passes periodically, breaking them if you don't update them: https://mastodontech.de/@Smojo/113973063261105479

It should be possible to check for updates, perhaps even automatically on a schedule.

Extra care needs to be taken to try to not override user changes (if made), although a first version could perhaps just warn that it will override. Looking deeper into it should hopefully surface the complexity.

TheLastProject avatar Feb 09 '25 09:02 TheLastProject

Just checked the repo here and as there are a lot of issue and feature requests, I was wondering if you have some kind of roadmap planned for yourself and if there is a rough estimation when you will work on this one? (I was the one who asked for it on Mastodon ;-) )

Smojo avatar Oct 25 '25 19:10 Smojo

Roadmap: Order I happen to feel like working on stuff ETA: When I have time, energy and feel like working on it

Sending in a PR is a way faster way to get new features implemented generally, it's a lot of work and, well, after 40 hours of $DAYJOB there is only so many hours I can put up with extra unpaid IT work :P

TheLastProject avatar Oct 25 '25 20:10 TheLastProject

This floss app allows to update pkpass files: https://github.com/SeineEloquenz/fosswallet/tree/main/app%2Fsrc%2Fmain%2Fjava%2Fnz%2Feloque%2Ffoss_wallet%2Fapi

benjuade avatar Nov 03 '25 06:11 benjuade

@benjuade thanks for the hint. I use this https://github.com/ligi/PassAndroid right now which allows to update pkpass files as well. In the Readme of FossWallet I see that it is inspired by PassAndroid. I moved to FossWallet as the UI seems to be a bit more modern and it feels better maintained ;-).

The reason I started the discussion here is just, that I would like to have all cards/tickets/etc. at one place.

Smojo avatar Nov 04 '25 13:11 Smojo

@Smojo agree with you. Since both projects use a GPL-3 license, it should be possible to adapt that code for syncing pkpass files and properly reference that it has been used with modifications here. Unfortunately I know very little JAVA/Kotlin.

benjuade avatar Nov 04 '25 14:11 benjuade