Our great sponsors
-
WorkOS
The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
Really interesting write-up! New Zealand COVID Tracer app QR codes are actually pretty similar. We don't use URLs, but we do use a base64 encoded JSON prefixed with the "NZCOVIDTRACER" string.
NZ Covid Tracer App is actually open source and the QR code reading function can be seen here: https://github.com/minhealthnz/nzcovidtracer-app/blob/main/s...
And here's the type for the JSON we use: https://github.com/minhealthnz/nzcovidtracer-app/blob/main/s...
Uh, huh, I clearly didn’t test it properly. I had thought I’d validated checking in while offline. Oops: https://github.com/huonw/huonw.github.io/commit/fd19b9d66af7...
Unfortunately removing the www doesn't work with the current app. At least for the iOS app, I imagine that www.service.nsw.gov.au is an associated domain, but service.nsw.gov.au is not https://developer.apple.com/documentation/Xcode/supporting-a... .
For instance, scanning with an iPhone camera will jump into the browser, rather than to the app (example, if you're on a desktop and have a mobile device handy: https://duckduckgo.com/?q=qr+code+https%3A%2F%2Fservice.nsw.... )
Since most government software is written in Java, the QR codes on PDF check-in posters are probably being generated with ZXing [1].
[1] https://github.com/zxing/zxing
Related posts
- What's the best way to generate a QR code?
- How to build an Ionic Barcode Scanner with Capacitor
- Does anyone have scanning a QR code from a webcam to a text field in an Access form working and be willing to share the source? Thanks
- The Basics of how QR codes work
- Cross-Platform(Android, IOS, Desktop)Barcode scanner package that allows for continuous barcode scanning