2.4.0AndroidPublisher changelog
Voice notes, and optional Internet relays for when nobody is in radio range.
Added
- Knit puts less on the air. Between two current phones the delivered tick — for a private message, a reaction, a nearby-room or group post — now crosses the Wi-Fi Aware fast lane in one packet instead of two, a short message likewise, and a profile in two instead of three. The frame travels in a compact form the receiver unpacks before checking the signature, so nothing about what is signed changes, and an older phone keeps receiving exactly what it did.
- Two people with the same name are now told apart. When someone nearby uses a name Knit already knows, both show their alias after it — the two-word name Knit gives every device, like "Sam (JoyfulFerret)" — in the room, the chat list, Contacts, group members and notifications, and it goes away again when the names differ. Your own alias is now shown in Settings under your name, and on a contact's profile, so you can tell someone which Sam you are. Typing an alias after "@" finds the right person to mention.
- Add a contact from a link. Too far apart to scan each other's code? Share your contact link (menu › Add contact › Share link) over any messenger, and add someone from theirs — tap it, share it to Knit, or paste it into Add contact. Each of you ends up with the other's key pinned and in Contacts, no message needed; with Internet relays on, the two of you also meet at a relay before you have ever exchanged a message. A link is not a scan: compare safety numbers over a call if it matters who is on the other end.
- Voice notes. Hold the microphone in a chat to record, slide up to keep recording hands-free, and slide away to cancel. You hear the recording back before deciding to send it, and can add text to it like any other attachment. Voice notes travel exactly the way photos do — encrypted end to end, carried by nearby phones when you are out of range of each other, and by your Internet relays if you have turned them on. They are available in direct messages and group chats. They are not offered in the Nearby room, because Knit checks images for explicit content before they reach you and there is no equivalent check it can run on speech, so it does not put unchecked audio in front of strangers.
- Group delivered-ticks (the ✓✓ on your own group messages) now survive you being away: members' receipts are batched, encrypted, and carried by the mesh — and the Internet relays, where enabled — until they reach you, just like the messages themselves.
- Knit can now use Internet relays, which you turn on yourself. Knit remains a messenger that works with no internet and no account, but a message to somebody out of radio range used to wait for the two phones, or a chain of phones between them, to meet. With relays on, Knit parks a sealed copy on a relay server, which hands it over the next time the other phone connects. A one-time explanation spells out what a relay can see — your IP address, when you send, and roughly how much — and what it cannot: your messages or photos, who you are talking to, or who else is in a group.
- A Settings screen for relays lists the ones you use, adds and removes them, and reports each one as connected, still connecting, or why it refused. Knit ships with one relay already listed and unused; it stays inert until you turn the feature on, and removing it sticks.
- Each relay also has its own switch, so you can stop using one without deleting it. Deleting forgets its address and any access token it came with, which for a private relay cannot be undone; switching one off just stops sending to it. The main switch still decides whether sealed copies leave your phone at all — a relay's own only narrows which of them carry.
- Group chats travel over relays as well as direct messages, without anyone learning from the relay that a group exists or who is in it.
- Photos travel over relays too, in sealed pieces. A photo waits while a phone that can carry it is still in radio range, so an ordinary in-person exchange never touches a relay. Where a relay cannot take it — no photo support, or the photo is larger than any relay in your list will hold — the message says "Nearby only" rather than reporting a failure: it still arrives over Wi-Fi or Bluetooth as it always did.
- Changes to your name, status, or photo now reach people you have only ever met across a relay. They previously spread by radio alone, so such a contact kept whatever it saw when you were last in range.
- A conversation says how it is being carried. A globe appears beside the double tick when the other phone answered over the internet, and beside a message that arrived that way; the connection header says when the radios are dark and a relay is carrying the conversation. The Nearby room is exempt by design — it is public and unencrypted, so it is never uploaded, and says so.
- Diagnostics gains an Internet relays section: what has been sent and received over them, photo pieces moved, photos left to the radios, and any errors a relay reported.
- A fresh install now says what to do next. The chat list always has the Nearby room in it, so it never looked empty even when there was nothing to open; a short card under that row now names the two ways in — broadcast to everyone in range, or add one person. It disappears on its own as soon as you have a conversation to open.
Changed
- Adding someone is one screen again. "Verify contact" and "Add by link" were two entries in the menu that did halves of the same job; they are now a single Add contact screen — your code to be scanned, a scanner for theirs, your link to send, and a box to paste the link they sent you. Nothing about how a contact is added changed: a scan still verifies the key on the spot, and a link still asks you to compare safety numbers before you trust who is on the other end.
- Knit is a smaller download and starts faster. The build strips out the parts of its bundled libraries the app never actually calls — about four megabytes of code that was being shipped and loaded for no reason. Nothing about what Knit does changed; there is just less of it to install and less for your phone to hold in memory while it runs.
- Nearby phones relaying your messages no longer learn what kind of attachment one carries. A photo and a voice note used to be told apart by a label sent alongside them in the clear; that label now travels encrypted with the message, where only the person you sent it to can read it. Relays still see roughly how large an attachment is, which they need in order to carry it for you.
Fixed
- The last fix for phones that shut Knit down seconds after opening did not hold on the phone it was written for. Knit was slowing its retries down correctly, then throwing that away every time the phone announced anything about Wi-Fi Aware — and a phone that cannot run Wi-Fi Aware announces something after every refusal, so the two fed each other and Knit ended up asking hundreds of times a second. It now tells a radio genuinely coming back from a phone just repeating itself, never asks more than once every three seconds no matter what, stops entirely well before Android would step in, and remembers that it gave up so a restart does not start the whole thing over. Bluetooth carries the mesh throughout.
- Knit no longer gets stuck restarting on a phone where the on-device checking model won't run. The model that screens messages and photos runs in native code, and on unusual hardware it could close the app a few seconds after opening, every time, with nothing to show for it. Knit now notices that pattern, turns that model off, and carries on — Diagnostics says so, and offers to try it again. While it is off, messages in the Nearby room are still checked against the word list; direct messages, group chats and photos are not checked.
- Knit no longer crashes when Android restarts the mesh out of sight. Phones that run short of memory — and some that simply prune background apps hard — stop Knit while it is off screen and start it again a moment later. Since Android 12 that restart is not allowed to put the mesh notification back up, and Knit was treating the refusal as a crash. It now stands down quietly and picks the mesh up again the next time you open the app or restart your phone. To have the mesh survive on its own instead, turn on Allow background battery use during setup or from Profile.
- A relay you have configured can no longer flood the app's memory. Knit now holds only what it actually asked a relay for, ignores anything else the relay volunteers, and treats the relay's stated size limits as a claim to be capped rather than a fact. Relays were always untrusted with the contents of your messages; now they are untrusted with how much of your phone they can use.
- A notification can no longer be used to exhaust your phone's memory. When someone messaged you, Knit opened their profile photo at whatever size the picture claimed to be — and a picture that arrives from someone else is theirs to choose. A tiny file can unpack into hundreds of megabytes. Knit now opens every photo at the size it actually needs, and remembers the ones it has already opened, so a busy conversation does the work once instead of once per message.
- Opening "New message" no longer flashes "no contacts yet" before your contacts appear. The list takes about a second to read on a cold start, and the screen could not tell "still loading" from "nothing here", so it drew the empty state over the transition. It now shows placeholder rows that fade into the real ones.
- Phones a few miles away, and phones with no Wi-Fi Aware radio at all, no longer show up as directly connected over Wi-Fi Aware. A relayed message carries its original sender's name, and Knit was crediting that name with the link the message actually arrived on. It now credits the phone that put the message on the air, which is the only sender Wi-Fi Aware really tells it about.
- Knit no longer re-downloads the same messages from a relay over and over. Relays hold a sealed copy longer than a phone keeps one, so for the back half of that window Knit kept asking for messages it had already delivered and thrown away, on every reconnect, and never counted a conversation as caught up. It now remembers that it dealt with them.