‹ BackHN Continuity

Thread

Apple Pass Designer

563 points · 337 comments · soheilpro

  1. mortenjorck · · focus · HN ↗
    The one thing I hope Apple has added to the pass framework is the ability to semantically define a barcode area.

    This would enable them to finally have Wallet show ONLY that rectangle at a suddenly blinding brightness level (on HDR displays) for the scanner, rather than cranking up the entire screen.

    1. ray__ · · focus · HN ↗
      Every time I get blinded by this I wonder if it's really necessary at all...I can turn the brightness up myself if the QR code doesn't scan.
      1. hmartin · · focus · HN ↗
        No, you cannot manually turn on HDR on iPhone.
        1. SirMaster · · focus · HN ↗
          I mean, you kind of can... Isn't this what they are asking for?

          <a href="https:&#x2F;&#x2F;dt.in.th&#x2F;HDRQRCode" rel="nofollow">https:&#x2F;&#x2F;dt.in.th&#x2F;HDRQRCode

          (View this on your iPhone)

          1. echoangle · · focus · HN ↗
            This subthread was about if the app should even show QR codes at maximum brightness because the scanner could maybe also scan the code at the normal brightness. And the counterpoint was that you can’t selectively increase the QR code brightness to the HDR level manually, because you would be capped at the normal maximum brightness.
          2. DrammBA · · focus · HN ↗
            Blindly bright on my laptop on firefox as well
      2. reaperducer · · focus · HN ↗
        I can turn the brightness up myself if the QR code doesn&#x27;t scan.

        Well, you&#x27;re one person. How about the other eight billion people on the planet?

        Everyone is not you.

        1. drfloyd51 · · focus · HN ↗
          And… the would be the first to complain “my phone should auto adjust brightness for me whaaa”
      3. delecti · · focus · HN ↗
        But shouldn&#x27;t the app be programmed to maximize the chances that it&#x27;ll work on the first try? It seems like a reasonable compromise to me. Annoyingly bright for a few seconds so I don&#x27;t have to futz with my brightness.
        1. database64128 · · focus · HN ↗
          Interestingly this is exactly why I have to mess with brightness settings from time to time.

          Has anyone else noticed the weird interaction between apps turning the brightness to the max and the system’s auto brightness? I’m not an iOS developer, so I don’t know about the relevant APIs. But every time an app changes the brightness to display a QR code, it seems to do so by retrieving the current brightness, turning it to the max, and when it’s done, setting it back to the old value. The problem is that iOS seems to register the brightness change as user initiated, and changes auto brightness behavior. After a few uses, auto brightness will no longer adjust the display to the minimum brightness, even when you’re in complete darkness.

          Fixing this used to be easy. Just go to display settings and toggle auto brightness off and on. Then Apple decided to move the toggle under accessibility. Now it’s Accessibility -&gt; Display &amp; Text Size and scroll all the way to the bottom.

    2. ACCount39 · · focus · HN ↗
      My wishlist item is support for TOTP in a code.

      Some applications do want a code that&#x27;s slightly less trivial to yoink than &quot;look at a screen once, have it forever&quot;. TOTP would raise the bar there.

    3. saxenaabhi · · focus · HN ↗
      That&#x27;s not the only thing

      Someone else mentioned TOTP codes that are hard to copy

      My personal gripe is that NFC readers can&#x27;t read wallet passes. That&#x27;s also true for google&#x2F;android.

      Both apple&#x2F;google restrict it and only few very big retailers are using it.

      1. CamJN · · focus · HN ↗
        That’s funny, the local mom and pop chocolate shop by me uses the nfc wallet pass feature from iOS.
        1. youngtaff · · focus · HN ↗
          So does one of my local sports venues, my gym and my employers office
      2. jyounker · · focus · HN ↗
        I&#x27;m not sure where you&#x27;ve gotten the idea that iPhone wallet passes can&#x27;t be used with NFC readers. I regularly use an iPhone wallet pass with an NFC reader at my local coffee shop.
    4. kenferry · · focus · HN ↗
      I&#x27;m not quite sure what you&#x27;re getting at, but Apple knows where the barcode is already. The data for the barcode is given as text, apple draws the barcode.

      Maybe what you want is for the screen to support turning up brightness for just one part?

      1. vinay427 · · focus · HN ↗
        &gt; Maybe what you want is for the screen to support turning up brightness for just one part?

        That’s what their comment is asking for, which is why they mention HDR displays which are already common on Apple products.

      2. mortenjorck · · focus · HN ↗
        I didn’t realize the bar code region is already semantically defined. That means all Apple has to do is to support an HDR region in software, since the hardware already supports what you describe.

        From another comment in this thread, you can see a proof of concept using the HDR video workaround that works on any recent iPhone (or MacBook Pro): <a href="https:&#x2F;&#x2F;dt.in.th&#x2F;HDRQRCode" rel="nofollow">https:&#x2F;&#x2F;dt.in.th&#x2F;HDRQRCode

        1. kenferry · · focus · HN ↗
          Hm, neat! File a bug!
    5. arcanemachiner · · focus · HN ↗
      Wait, is that a thing? They can light up just a portion of the screen?
      1. user_7832 · · focus · HN ↗
        Technically proper HDR is supposed to do exactly that. Doesn&#x27;t matter if it&#x27;s a pass or an image on a website.
Open on Hacker News to reply ↗

Unofficial Hacker News client; not affiliated with Y Combinator.