5 ms·
This was a great blogpost, but then ends with: > I will note that I have not yet tested this pass in a real library yet I get this project was mostly for fun,
by cglong 3y ago
This was a great blogpost, but then ends with:
> I will note that I have not yet tested this pass in a real library yet
I get this project was mostly for fun, but why not spend the 10 minutes it takes to test the final solution before sharing your work?
- skykooler 3y agoLibrary might not be open on a Saturday?
- cglong 3y agoThis isn't an unpublished zero-day, or even a new feature in iOS. I would've waited until Monday to publish if that was the issue.
- lxgr 3y agoThe point of the article is to show how it's possible to create an Apple pass from a custom barcode. Whether that barcode can then actually be read by a specific reader from a phone or not is arguably a different concern: Some readers support it; others don't. Obviously a passbook version of a paper barcode is useless for the latter. Personally, I found the post valuable regardless of whether the barcode would actually end up working at the author's library or not; I have a few scenarios myself where I know screen-presented codes are accepted.
- Lucasoato 3y agoThat’s a bigger problem than barcodes then.
- jldugger 3y agoThis post is from two months ago.
- MollyRealized 3y agoYes, that kind of ruined the entire article for me. "I have this great scientific theory about oxygen loss during running. I will admit, I have not actually started jogging yet, but ... "
- lxgr 3y agoI mean, it's ultimately a bunch of pixels representing a barcode to be scanned. As long as it displays correctly, what could go wrong?
- chedabob 3y agoA lot of 1D barcode scanners cannot read phone screens reliably.
- jldugger 3y agoIn the era before smartphones, barcode readers were highly tuned devices that emitted a specific frequency of light and the sensor was tuned for exactly that. Cellphone screens generally don't emit that frequency of red, and I guess absorb rather than reflect light sent to it, making the screen opaque. So even if you, the human, can read it doesnt mean the device that authorizes you can.
- lxgr 3y agoDefinitely, but what I mean is that that's not a failure mode specific to Apple passes. If a screenshot a barcode works, so should the pass, and vice versa.
- jldugger 3y agoStill seems like a waste of time if your MVP fails tho.
- lxgr 3y agoIt's not too hard to imagine other use cases for 2D barcodes in Passbook/Wallet, even if one specific library does not work out. Loyalty cards at retailers come to mind, for example. POS systems often support scanning coupons from phone screens.