Skip to content

AirBridge v0.0.5

Choose a tag to compare

@github-actions github-actions released this 17 Nov 08:40
75963d1

Fixes "Could not reach the transfer service" on the Mac and phone timeouts after scanning

An older AirBridge server could stay running on port 3000 after an update. The Mac app kept showing that server's UI and a stale QR code, so the phone dialled an address that wasn't on its network and timed out.

  • Mac app manages the AirBridge service. It starts the installed version and restarts it if it crashes or hangs. It replaces an AirBridge server of a different version, but never touches other programs. It reloads the window on every restart and stops the service when you quit. A log is kept at ~/.airbridge/server.log.
  • No stale QR code. The QR code and pairing link are hidden while the window isn't connected. A Restart AirBridge button appears instead.
  • Installer cleans up. It stops any old AirBridge server on the port and unloads a login item that auto-starts it. It also restarts the Mac app if it's open.
  • Android finds the computer again after its address changes (for example, a hotspot turned off and on). It only does this for a computer it has already paired with, and the pair code is still required.
  • The server reports its version (/api/health, welcome). A page from an older build reloads itself.

Update

  1. Mac: run the installer again (same command as before). Then open AirBridge.
  2. Phone: install AirBridge.apk from this release.
  3. Put the Mac on the phone's hotspot (or both on the same Wi-Fi). Then scan the QR code shown now.

If it still fails, send the output of:

curl -s http://localhost:3000/api/health
ifconfig | grep "inet "

Full Changelog: v0.0.4...v0.0.5