sargant / dfyb.run

A tool that lets you add your parkrun 🏃‍♂️💨 barcode to your iPhone 📱 and Apple Watch ⌚
https://dfyb.run
BSD 3-Clause "New" or "Revised" License
53 stars 9 forks source link

Add locations with apple wallet #48

Closed jozefbonnar closed 2 years ago

jozefbonnar commented 2 years ago

Add locations with apple wallet so it shows up on the home screen when at the event location, I'm pretty sure you can access coordinates from the parkrun API but I'm not so sure. https://developer.apple.com/documentation/walletpasses/pass/locations

sargant commented 2 years ago

Thanks for using dfyb.run, and especially thanks for the feedback!

I've thought about this before and I'm probably not going to do this for a couple of reasons:

I have thought also about setting the pass to show up on a Saturday morning, but the Wallet spec doesn't let you specify a repeating schedule, just a singular date & time.

jozefbonnar commented 2 years ago

I understand the first part but that can be fixed by the user, you download all the locations initially, then have a GitHub automation every month to update it. Furthermore, on the site have a drop down menu with all the locations plus a manual mode where you can input your own location, linked in with the drop down you could have a google maps integration for an extra method to verify it’s the right location. It’s not the end of the world if it’s wrong since the pass will still operate normally.

The second part, which I have just verified today, the pass only shows on your Lock Screen at that location, once you leave the pass then gets removed off your home screen. It doesn’t show all the time unless you are at that location.

jozefbonnar commented 2 years ago

@sargant