I started with the “generic” pass sample provided by Apple and stripped it down to the bare minimum and then added the beacons entry. The beacons key is the one we’re interested in. There are a bunch of different keys available, including pass identifiers, description, styling, and “relevance” which specifies where the pass is likely to be used. It is simply a dictionary of keys and values that define the pass. The pass.json file is where the magic happens. There are additional images that may be specified for a pass, but we‘re keeping it simple. Logo.png - appears in the upper-left-hand corner of the pass Icon.png - displayed in the pass notification on the lock screen The Pass Type ID for this pass is Creating a PassĪ pass “package” is comprised of a directory containing a pass.json file and a few image files: UUID 2F234454-CF6D-4A0F-ADF2-F4911BA9FFA6įor the purpose of creating a pass, I will pose as member #24601. We are going to configure a beacon at the front desk with the following values: This will make it very easy for the member to have his pass scanned without even breaking stride. We would like for the member‘s pass to be available from his phone‘s lock screen when he arrives at the front desk. The RadBeacon Athletic Club (RBAC) has a front desk where members check in as they enter the fitness area. The idea is that the pass should pop onto the iOS lock screen when in the vicinity of a beacon at the facility’s front desk in order to be scanned. In this tutorial, we are going to build a membership card pass for a fictional fitness club named “RadBeacon Athletic Club”. Some cars have an obvious key slot on the. It turns out you can do the same thing when a pass is installed on a device that is in proximity to a specific beacon!ĭifferent types of passes can be added to Wallet: airplane boarding passes, store cards, discount coupons, and payment methods for Apple Pay, just to name a few. The key is typically accessed by pushing a button on the key fob and pulling the key out, although on some remotes, the release isn’t obvious. Its smallest beacon, RadBeacon Dot, offers an adjustable range of five to 50 meters, battery life of 30 to 285 days depending on usage, and works on a replaceable coin cell battery. I’m guessing they used a geofence in the pass to cause it to be front-and-center when I was at the airport where I’d board the plane. Radius Networks, founded in 2011, offers a variety of proximity beacon hardware, including RadBeacon Dot, RadBeacon USB and RadBeacon X4. I remember adding an Alaska Air boarding pass to Passbook several years ago (now known as “Wallet” in iOS 9) and being pleasantly surprised to see it magically available on my phone’s lock screen when I was at the airport. PassKit was introduced in iOS 6 and brought us coupons, boarding passes, store cards, and event tickets directly on our iPhones. Using iBeacon Technology to Display a Pass in iOS
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |