Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

It'd be awesome if you could add a location to the pass. Apple allows a pass to automatically pop up on the screen based on the device location[1]. If you make it so the user could pick the point on a map for the pass to pop up at it'd be great. That way for example, if you're at the grocery store, your custom pass could be on your lock screen ready for you.

[1] https://developer.apple.com/documentation/walletpasses/pass/...



Very interesting, and you can define multiple already,

https://developer.apple.com/documentation/walletpasses/showi...,

    {
    ...

    
    "locations" : [
        {"latitude" : 37.3229, "longitude" : -122.0323},
        {"latitude" : 37.3286, "longitude" : -122.0143},
        {
            "altitude" : 10.0,
            "latitude" : 37.331,
            "longitude" : -122.029,
            "relevantText" : "Store nearby on 3rd and Main."
        }
    ],
    "relevantDate" : "2014-12-05T09:00-08:00"
    }


This is awesome. Can I do this myself? Or does this need to be implemented in their backend?

ooh so nice




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: