Skip to content

simwire 0.2.0

Latest

Choose a tag to compare

@devanonyme42 devanonyme42 released this 31 Jul 16:10

Added

  • The session recovers on its own. Wi-Fi drops, phones sleep, laptops move
    between networks; the SDK now retries with a growing delay and rediscovers the
    phone each time, since one rejoining a network can come back on another
    address. New reconnecting and reconnected events, a connected flag, and
    simulateDrop() on the mock so you can test your own handling.
    A send() issued while the session is down waits for it instead of failing.
  • Unpairing, from either side. npx simwire unpair forgets the phone on
    your machine; the app's Health screen revokes the token and stops the
    gateway.

Install

Download simwire-0.2.0.apk below, or update over your existing install: the
pairing is kept.

npm install simwire@0.2.0

Every permission the app asks for is explained on the
download page.

Verify what you downloaded

This app is installed outside the Play Store, so check that the file you got is
the file we built:

3e52d50f06f4099551a7da4f5c457492899287a01d56aec7aeb35a5fb5e295c7  simwire-0.2.0.apk
sha256sum -c simwire-0.2.0.apk.sha256    # Linux
shasum -a 256 simwire-0.2.0.apk          # macOS

The APK is a signed release build; Android will refuse to install it over a
copy signed with a different key.

Still true

LAN only for now: to reach a phone from a remote server, put both on a Tailscale
network and pass connect({ host }). Delivery reports depend on the carrier.
Not for bulk messaging.