‹ 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.

Open on Hacker News to reply ↗

Unofficial Hacker News client; not affiliated with Y Combinator.