Fixed
- Android: WebSocket connections now work with TLS servers. OkHttp
was negotiating HTTP/2 via ALPN, but the server's WebSocket handler
only supports upgrade over HTTP/1.1. The client now forces HTTP/1.1. - Android: foreground service no longer killed on Android 14+. The
FOREGROUND_SERVICE_TYPE_REMOTE_MESSAGINGtype is now passed to both
startForeground()and notification updates, as required by API 34+. - Android: persistent notification now visible. Shows connection
status ("Connected", "Disconnected", "Paused") and the server address
in the notification body. - Android: cleartext ws:// now works with any IP address. The
previous network security config used<domain>entries which don't
match IP literals.
Added
- Android: WiFi-aware reconnect. When the server is a private IP
(192.168.x.x, 10.x.x.x, etc.) and the phone is on mobile data, the
service pauses with "Waiting for WiFi" instead of burning battery on
failed retries. Reconnects automatically when WiFi comes back.