<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: IcyZip</title>
    <description>The latest articles on DEV Community by IcyZip (@icyzip).</description>
    <link>https://dev.to/icyzip</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4002870%2F5344230b-01b8-4b94-a3dd-4a53635aba67.png</url>
      <title>DEV Community: IcyZip</title>
      <link>https://dev.to/icyzip</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/icyzip"/>
    <language>en</language>
    <item>
      <title>Recovering QR-paired browser sessions after Android sleep</title>
      <dc:creator>IcyZip</dc:creator>
      <pubDate>Sat, 01 Aug 2026 04:29:39 +0000</pubDate>
      <link>https://dev.to/icyzip/recovering-qr-paired-browser-sessions-after-android-sleep-3549</link>
      <guid>https://dev.to/icyzip/recovering-qr-paired-browser-sessions-after-android-sleep-3549</guid>
      <description>&lt;p&gt;A browser-to-browser handoff can look simple in a five-minute test: open one page, scan its QR code on a phone, connect two WebSockets, and move some text. The harder test is leaving both devices alone for a day.&lt;/p&gt;

&lt;p&gt;That exposed an uncomfortable failure mode in a QR-paired tool I maintain. Android could remain on &lt;strong&gt;Connecting&lt;/strong&gt; indefinitely, while the desktop still showed old text and neither side made useful progress. Reloading the phone was not a real recovery path either: an expired pair could become &lt;strong&gt;Disconnected&lt;/strong&gt; or &lt;strong&gt;Pairing unavailable&lt;/strong&gt; without producing the fresh QR code the user needed.&lt;/p&gt;

&lt;p&gt;The problem was not just a dropped socket. It was a client state model that did not distinguish transport recovery from pairing recovery clearly enough.&lt;/p&gt;

&lt;p&gt;Disclosure: this article was prepared with AI editorial assistance from implementation and test notes. The behavior described below was checked against the deployed client plus automated and physical-device evidence.&lt;/p&gt;

&lt;h2&gt;
  
  
  A WebSocket is not the session
&lt;/h2&gt;

&lt;p&gt;There are at least three different things in this flow:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;the current browser transport;&lt;/li&gt;
&lt;li&gt;the server-side pairing record;&lt;/li&gt;
&lt;li&gt;the browser-side text and encryption state.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;A WebSocket can disappear while the pairing remains valid. A pairing can expire while the page still has a stale socket object. The browser can also preserve a useful local draft after both of those are gone.&lt;/p&gt;

&lt;p&gt;Treating those conditions as one generic “disconnected” state creates dead ends. A reconnect loop may keep opening transports for an identifier the server no longer knows. Conversely, immediately throwing away the pairing whenever a socket closes destroys a session that could have resumed normally.&lt;/p&gt;

&lt;p&gt;The recovery policy became:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;explicit user disconnect
    -&amp;gt; clear the old pair and its local draft
    -&amp;gt; leave the disconnected peer terminal
    -&amp;gt; give the initiating primary browser a clean new QR code

transport lost, pairing still valid
    -&amp;gt; replace the stale transport
    -&amp;gt; resume the stored pair
    -&amp;gt; re-establish browser key state

pairing unavailable or expired
    -&amp;gt; stop retrying the old identifier
    -&amp;gt; create a fresh primary pair
    -&amp;gt; show a fresh QR code
    -&amp;gt; preserve the useful local draft
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The important distinction is intent. If the user pressed &lt;strong&gt;Disconnect&lt;/strong&gt;, the old pair should stay disconnected rather than silently resume. The primary browser can still offer a clean new pairing. If Android merely slept, changed networks, or restored a tab, recovery of the existing pair should be automatic.&lt;/p&gt;

&lt;h2&gt;
  
  
  Wake events need to replace stale transports
&lt;/h2&gt;

&lt;p&gt;Mobile browsers do not promise that a backgrounded page will resume with a useful network object. The JavaScript object may still exist even though the underlying connection can no longer make progress.&lt;/p&gt;

&lt;p&gt;The client now listens to several lifecycle signals:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;the document becoming visible again;&lt;/li&gt;
&lt;li&gt;an &lt;code&gt;online&lt;/code&gt; event;&lt;/li&gt;
&lt;li&gt;a restored page through &lt;code&gt;pageshow&lt;/code&gt;;&lt;/li&gt;
&lt;li&gt;connection states that remain stuck in connecting, opening, error, or peer-offline.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Those signals do not merely call &lt;code&gt;send()&lt;/code&gt; again. They request a bounded lifecycle restart, which replaces the old transport and lets the normal pairing handshake run again. A small pending guard prevents several nearly simultaneous wake signals from starting competing reconnect attempts.&lt;/p&gt;

&lt;p&gt;This is deliberately different from an unbounded timer that retries forever. The page first asks whether automatic recovery is still allowed. Terminal states such as an explicit disconnect, an expired cryptographic state, or a key mismatch do not silently reopen themselves.&lt;/p&gt;

&lt;h2&gt;
  
  
  An unavailable pair must lead somewhere useful
&lt;/h2&gt;

&lt;p&gt;Reaching the server successfully does not prove that the old pairing still exists. The server can answer that the requested pair is unavailable.&lt;/p&gt;

&lt;p&gt;For the primary browser, that response now triggers a fresh-pair transition:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;discard the unavailable pairing identifier;&lt;/li&gt;
&lt;li&gt;clear key material tied to that identifier;&lt;/li&gt;
&lt;li&gt;remove the stale pair from the URL;&lt;/li&gt;
&lt;li&gt;ask the server for a new primary pairing;&lt;/li&gt;
&lt;li&gt;render the new QR code;&lt;/li&gt;
&lt;li&gt;show an explicit “new pairing created” instruction;&lt;/li&gt;
&lt;li&gt;keep the local text draft visible.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;That last point matters. Pairing state and user-authored text have different lifetimes. The old cryptographic relationship must not leak into the new pairing, but the text the user typed locally is still their work. Preserving it avoids turning network recovery into data loss.&lt;/p&gt;

&lt;h2&gt;
  
  
  Put the scanner inside the recovery path
&lt;/h2&gt;

&lt;p&gt;Telling a phone user to “scan the QR code again” is incomplete if scanning means leaving the web app, finding the operating system camera, and hoping it opens the correct browser tab.&lt;/p&gt;

&lt;p&gt;The recovery UI therefore includes an in-page camera scanner. It uses &lt;code&gt;BarcodeDetector&lt;/code&gt; when the browser supports QR detection and requests the rear-facing camera through &lt;code&gt;getUserMedia()&lt;/code&gt;.&lt;/p&gt;

&lt;p&gt;The scanner accepts only the intended pairing URL shape:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;HTTPS;&lt;/li&gt;
&lt;li&gt;the current IcyZip origin or another managed &lt;code&gt;icyzip.com&lt;/code&gt; origin;&lt;/li&gt;
&lt;li&gt;the root path;&lt;/li&gt;
&lt;li&gt;a non-empty pairing identifier;&lt;/li&gt;
&lt;li&gt;no embedded username, password, or custom port.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Lookalike hostnames, insecure URLs, unrelated paths, and foreign QR codes are rejected. After a successful scan, cancellation, or connection-state change, the camera track is stopped and detached from the video element.&lt;/p&gt;

&lt;p&gt;Unsupported detection and denied camera permission are normal product states, not exceptions to hide. In those cases the UI keeps the manual pairing path available and explains why the camera scanner cannot continue.&lt;/p&gt;

&lt;h2&gt;
  
  
  Capability beats user-agent guessing
&lt;/h2&gt;

&lt;p&gt;The same investigation produced a related Android lesson around clipboard access.&lt;/p&gt;

&lt;p&gt;One physical Android Firefox installation exposed &lt;code&gt;navigator.clipboard&lt;/code&gt;, which made the feature look available. In practice it rejected the &lt;code&gt;clipboard-read&lt;/code&gt; permission name and did not return clipboard text even from a direct user click after another Android application had populated the platform clipboard.&lt;/p&gt;

&lt;p&gt;The correct response was not another browser-name exception. The Paste action is now exposed only when the browser can prove the required permission capability as &lt;code&gt;prompt&lt;/code&gt; or &lt;code&gt;granted&lt;/code&gt;. Missing or rejected permission-query support leaves the action hidden, while the rest of the connected text UI remains usable.&lt;/p&gt;

&lt;p&gt;An API existing on &lt;code&gt;window&lt;/code&gt; is not the same as an end-to-end capability. Product controls should follow the capability that was actually proven.&lt;/p&gt;

&lt;h2&gt;
  
  
  Recovery also has a cryptographic boundary
&lt;/h2&gt;

&lt;p&gt;The pairing URL contains a rendezvous identifier, not the text or file encryption key. Current browser clients create P-256 ECDH key pairs and derive separate text and file keys with HKDF-SHA-256 for AES-GCM.&lt;/p&gt;

&lt;p&gt;That means reconnect logic must preserve the right browser state for a valid pair, but must not carry derived trust across an unavailable pairing into a newly created one. A fresh QR code represents a fresh pairing and a fresh browser key exchange.&lt;/p&gt;

&lt;p&gt;Payload encryption also does not erase metadata. The relay still handles routing and can observe operational information such as timing, connection details, message sizes, and file-offer metadata. Recovery copy and privacy copy have to describe the same system.&lt;/p&gt;

&lt;h2&gt;
  
  
  Test the state transitions, not just the labels
&lt;/h2&gt;

&lt;p&gt;It would be easy to make the bug appear fixed by hiding &lt;strong&gt;Connecting&lt;/strong&gt; and showing a QR code unconditionally. That would be a false green if valid sessions stopped resuming or text stopped moving afterward.&lt;/p&gt;

&lt;p&gt;The recovery tests therefore assert forward progress as well as UI state. They cover:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;replacement of a stale socket after a simulated Android wake;&lt;/li&gt;
&lt;li&gt;automatic resume when the pairing remains valid;&lt;/li&gt;
&lt;li&gt;creation of a different pairing identifier when the old one is unavailable;&lt;/li&gt;
&lt;li&gt;removal of the stale identifier from the address bar;&lt;/li&gt;
&lt;li&gt;preservation of the local text draft;&lt;/li&gt;
&lt;li&gt;a visible fresh QR code and rescan instruction;&lt;/li&gt;
&lt;li&gt;accepted and rejected QR-origin cases;&lt;/li&gt;
&lt;li&gt;unsupported and camera-denied scanner fallbacks;&lt;/li&gt;
&lt;li&gt;camera-track shutdown after a successful scan;&lt;/li&gt;
&lt;li&gt;bidirectional text exchange after recovery;&lt;/li&gt;
&lt;li&gt;explicit disconnect invalidating the old pair while the primary browser offers a fresh QR code.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The browser-emulated cases are supplemented by a real older Android phone because mobile lifecycle and clipboard behavior are exactly where desktop-only tests become overconfident.&lt;/p&gt;

&lt;h2&gt;
  
  
  The broader lesson
&lt;/h2&gt;

&lt;p&gt;Connection recovery is not one retry function. It is a product state machine spanning transport state, server pairing state, browser-local work, cryptographic identity, and explicit user intent.&lt;/p&gt;

&lt;p&gt;Once those are modeled separately, the UI decisions become clearer:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;retry a transport when the session is still valid;&lt;/li&gt;
&lt;li&gt;create and explain a fresh pairing when it is not;&lt;/li&gt;
&lt;li&gt;preserve user-authored work without preserving stale trust;&lt;/li&gt;
&lt;li&gt;offer an in-context scanner, but keep a non-camera fallback;&lt;/li&gt;
&lt;li&gt;prove that recovered sessions can still move data.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The current behavior and its security/metadata boundaries are live in &lt;a href="https://icyzip.com/how-icyzip-works" rel="noopener noreferrer"&gt;IcyZip's implementation notes&lt;/a&gt;.&lt;/p&gt;

</description>
      <category>webdev</category>
      <category>javascript</category>
      <category>android</category>
      <category>ux</category>
    </item>
    <item>
      <title>Lessons from building a QR-paired browser handoff tool</title>
      <dc:creator>IcyZip</dc:creator>
      <pubDate>Thu, 25 Jun 2026 19:50:00 +0000</pubDate>
      <link>https://dev.to/icyzip/lessons-from-building-a-qr-paired-browser-handoff-tool-1nlk</link>
      <guid>https://dev.to/icyzip/lessons-from-building-a-qr-paired-browser-handoff-tool-1nlk</guid>
      <description>&lt;p&gt;I have been working on a small browser handoff tool. The use case is intentionally narrow: open a page on one device, scan a QR code with another device, then move live text or one selected file between the two browsers without creating an account, installing an app, or using a cloud drive.&lt;/p&gt;

&lt;p&gt;This post is less a launch announcement and more a build note. The interesting part was not drawing a QR code. It was deciding what the pairing model should promise, what it should not promise, and how to keep the browser UX understandable while avoiding privacy claims that are too broad.&lt;/p&gt;

&lt;p&gt;Disclosure: I used AI editorial assistance while preparing this article draft. The technical claims are based on the implementation I worked on and should be checked against the live code before publishing.&lt;/p&gt;

&lt;h2&gt;
  
  
  The product constraint
&lt;/h2&gt;

&lt;p&gt;The first design choice was to avoid public file links.&lt;/p&gt;

&lt;p&gt;Public links are convenient, but they also create a bigger surface area:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;someone can forward the link;&lt;/li&gt;
&lt;li&gt;the sender has to think about expiry;&lt;/li&gt;
&lt;li&gt;the product needs a clear answer for offline recipients;&lt;/li&gt;
&lt;li&gt;a shared URL can be copied into logs, chat history, browser history, and previews.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;For this tool I wanted a live, pair-only workflow instead. Both browsers are present at the same time. One browser shows a QR code, the second browser scans it, and the session exists for that pair.&lt;/p&gt;

&lt;p&gt;That constraint makes the product less flexible, but it also makes the mental model simpler:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;no account;&lt;/li&gt;
&lt;li&gt;no inbox;&lt;/li&gt;
&lt;li&gt;no public download page;&lt;/li&gt;
&lt;li&gt;no stored file queue;&lt;/li&gt;
&lt;li&gt;no long-lived share link.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Pairing with a short session id
&lt;/h2&gt;

&lt;p&gt;The QR code does not need to contain a secret payload. It can contain a short pairing URL such as:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;https://example.com/?i=&amp;lt;pair-id&amp;gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The pair id is a rendezvous handle and a short-lived join handle, not an encryption key. It tells the service which WebSocket clients should be connected. Someone who sees it while the pair is open may be able to attempt joining as the other browser, so the QR code still deserves normal care. What the pair id does not do is decrypt an already-derived browser-to-browser ciphertext by itself.&lt;/p&gt;

&lt;p&gt;That distinction matters because QR codes are visible. They can be captured by a camera, screenshot, screen share, or browser history. If the QR code itself is the secret, then the UI needs to treat it as secret material. If the QR code is just a rendezvous id, the encryption story can move into browser-generated keys.&lt;/p&gt;

&lt;h2&gt;
  
  
  Browser-generated ECDH
&lt;/h2&gt;

&lt;p&gt;For text and file bytes, the current implementation uses browser-generated P-256 ECDH key pairs through the Web Crypto API. Each browser creates its own key pair. The public keys are exchanged through the pairing channel. The shared secret is then used as input material for derived AES-GCM keys.&lt;/p&gt;

&lt;p&gt;At a high level:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Browser A creates ECDH key pair
Browser B creates ECDH key pair
Both exchange public keys through the pairing service
Both derive shared key material
Browser A encrypts before sending
Browser B decrypts after receiving
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;For text and file transfer, separate derivation context strings are useful. They keep the implementation honest about key separation:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;icyzip/text/ecdh/v2
icyzip/file/ecdh/v1
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The exact labels are implementation details, and they can change as the design evolves. The useful part is treating text and file encryption as separate contexts, so a future change in one path does not accidentally depend on assumptions from the other.&lt;/p&gt;

&lt;p&gt;One mistake I wanted to avoid was treating "paired" as equivalent to "trusted forever." The browser context can disappear, the phone can suspend the tab, and the network can reconnect through a fresh WebSocket. The key and session state need explicit rules for those lifecycle events. Otherwise a reconnect path can accidentally look like a hostile peer or a broken key exchange even when the user only switched apps for a moment.&lt;/p&gt;

&lt;p&gt;That means the UI should not just say "failed." It should distinguish at least three cases:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;waiting for the second browser;&lt;/li&gt;
&lt;li&gt;connected to the expected peer;&lt;/li&gt;
&lt;li&gt;disconnected or unable to verify the peer, in which case the user should pair again.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The cryptographic state machine and the product copy need to agree. If a mismatch means "scan a new QR code," the UI should say that directly.&lt;/p&gt;

&lt;h2&gt;
  
  
  File transfer is not just bigger text
&lt;/h2&gt;

&lt;p&gt;The file path needs different thinking than the text path.&lt;/p&gt;

&lt;p&gt;Text messages are small. They can be encrypted as a single payload and rendered into a shared field. Files are bigger, need progress, need cancellation behavior, and should avoid buffering everything in memory where practical.&lt;/p&gt;

&lt;p&gt;The current file design is still deliberately limited: one selected file in a live session. That avoids a lot of product and security questions:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;no folder sync semantics;&lt;/li&gt;
&lt;li&gt;no resumable offline queue;&lt;/li&gt;
&lt;li&gt;no public archive;&lt;/li&gt;
&lt;li&gt;no multi-recipient fan-out;&lt;/li&gt;
&lt;li&gt;no account-based file history.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The sender encrypts file chunks in the browser, then the service routes encrypted bytes to the paired browser. The receiver decrypts in the browser. If decryption fails, the transfer should fail closed rather than trying to show partial content as if it succeeded.&lt;/p&gt;

&lt;p&gt;The browser APIs also shape the product more than I expected. A desktop browser, Android Chrome, Android Firefox, and embedded WebView-like browsers do not all behave the same around backgrounding, clipboard access, file inputs, downloads, and memory pressure. A feature that looks finished in two desktop tabs may still be brittle in the actual phone-to-laptop path.&lt;/p&gt;

&lt;p&gt;For this kind of tool I now prefer proving the narrow path on real devices before adding broader features. Multiple files, background retries, cross-session history, or resumable transfers all sound useful, but each one expands the set of states the user has to understand.&lt;/p&gt;

&lt;h2&gt;
  
  
  Metadata does not disappear
&lt;/h2&gt;

&lt;p&gt;This is the part that is easy to overstate in marketing copy.&lt;/p&gt;

&lt;p&gt;Browser-side encryption for text and file bytes does not mean the service sees nothing. The routing service still has operational visibility. Depending on the implementation, it may see metadata such as:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;connection timing;&lt;/li&gt;
&lt;li&gt;approximate client/network information;&lt;/li&gt;
&lt;li&gt;pair/session control identifiers;&lt;/li&gt;
&lt;li&gt;file name;&lt;/li&gt;
&lt;li&gt;file size;&lt;/li&gt;
&lt;li&gt;MIME or browser-provided type hint;&lt;/li&gt;
&lt;li&gt;encrypted wire size;&lt;/li&gt;
&lt;li&gt;chunk counts or chunk timing.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Some of those can be reduced or changed, but they do not vanish just because payload bytes are encrypted. I have found it healthier to write the product copy around that limitation instead of trying to sound more private than the system really is.&lt;/p&gt;

&lt;p&gt;The claim I am comfortable with is narrow:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;Current browser clients encrypt live text and file bytes before they leave the browser. The service still handles routing and can see metadata.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;That is less catchy than "the server sees nothing", but it is much easier to defend.&lt;/p&gt;

&lt;p&gt;There is also a difference between payload confidentiality and abuse resistance. A relay that cannot read file bytes may still need enough operational signal to rate-limit, debug broken sessions, or understand whether a launch channel is producing real pairings instead of empty traffic. The tradeoff should be explicit, because "collect nothing" is often not the same thing as "operate responsibly."&lt;/p&gt;

&lt;h2&gt;
  
  
  UX lessons from QR pairing
&lt;/h2&gt;

&lt;p&gt;A QR-paired browser tool lives or dies on tiny UI details.&lt;/p&gt;

&lt;p&gt;The user should not need to understand ECDH, AES-GCM, metadata, or relay behavior. They need to know which device is waiting, which device should scan, whether the pair is connected, and whether the transfer finished.&lt;/p&gt;

&lt;p&gt;Practical things that helped:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;show the QR code immediately;&lt;/li&gt;
&lt;li&gt;keep the fallback link short;&lt;/li&gt;
&lt;li&gt;make the connected state obvious;&lt;/li&gt;
&lt;li&gt;avoid hidden multi-step setup;&lt;/li&gt;
&lt;li&gt;keep file transfer to one clear action;&lt;/li&gt;
&lt;li&gt;keep privacy copy specific and close to the action;&lt;/li&gt;
&lt;li&gt;test with phone-to-laptop and laptop-to-phone flows, not only desktop browser tabs.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The mobile flow is especially important. A QR tool can look good on a desktop screenshot and still be awkward if the phone view makes the user scroll past the action they need.&lt;/p&gt;

&lt;h2&gt;
  
  
  What I monitor after launch
&lt;/h2&gt;

&lt;p&gt;For a tiny product, analytics can easily become more invasive than the product itself. I try to focus on aggregate operational signals:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;page requests;&lt;/li&gt;
&lt;li&gt;successful pairings;&lt;/li&gt;
&lt;li&gt;completed file transfers;&lt;/li&gt;
&lt;li&gt;broad country distribution;&lt;/li&gt;
&lt;li&gt;obvious diagnostics or client errors.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;For promotion channels, I care more about whether real pairings happen than raw clicks. A directory listing or launch post that brings a small number of people who actually pair two devices is more useful than a large number of passive page views.&lt;/p&gt;

&lt;p&gt;This also changes how I read advertising or launch-page numbers. A click is not a success event. For this product the useful signal is closer to:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;page view -&amp;gt; second device joins -&amp;gt; pair connected -&amp;gt; file or text transfer completes
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The exact funnel does not need invasive tracking to be useful. Aggregate counters can still reveal whether people understand the pairing flow.&lt;/p&gt;

&lt;h2&gt;
  
  
  Open questions
&lt;/h2&gt;

&lt;p&gt;I am still watching a few design questions:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Is "one file" too narrow, or does it keep the tool understandable?&lt;/li&gt;
&lt;li&gt;Should filename metadata be hidden or transformed, even if that makes the receiving UX worse?&lt;/li&gt;
&lt;li&gt;Is the privacy copy clear enough for non-technical users?&lt;/li&gt;
&lt;li&gt;Is QR pairing obvious enough when the first device is a phone rather than a laptop?&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;If you want to see the specific flow that prompted these notes, the project is here:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://icyzip.com/" rel="noopener noreferrer"&gt;https://icyzip.com/&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;I am especially interested in technical feedback on the mobile lifecycle edge cases: backgrounded tabs, reconnects, and how explicit the UI should be when a new QR scan is required.&lt;/p&gt;

</description>
      <category>webdev</category>
      <category>javascript</category>
      <category>privacy</category>
      <category>ux</category>
    </item>
  </channel>
</rss>
