Skip to content

Releases: davidthorn/ConnectivityBridge

ConnectivityBridge 0.1.0 — Swift Package + Demo + Typed Bridge Updates

09 Feb 15:44

Choose a tag to compare

Highlights

  • ConnectivityBridge is now a first-class Swift Package with explicit iOS/watchOS platforms.
  • Full demo app included (iOS + watchOS) to visualize request/reply flow, status, and latency.
  • Typed request/response bridge with timeouts and event stream for logging.
  • send now throws to surface encoding/session failures.

What’s New

  • Added Package.swift with package + test targets.
  • New ConnectivityBridge/DOCS.md with junior‑friendly copy/paste + architect overview.
  • README updated with SPM install, demo explanation, and docs link.
  • Bridge events include status changes and timeouts.
  • Activity UI enhancements: device icons, latency display, clear logs.

API Changes

  • WatchConnectivityBridging.send is now async throws.
  • TypedConnectivityBridging.send is now async throws.
  • New BridgeError cases: cannotSend, encodingFailed, sendFailed.

Notes

  • Make sure demo apps handle try await for send.
  • Simulator pairing is required for WatchConnectivity to work.