Commit Graph

30 Commits

Author SHA1 Message Date
6110f712bd Fix WebSocket reconnection after app backgrounding
- Add scenePhase monitoring to ContentView to detect app lifecycle changes
- Implement handleScenePhaseChange() to force WebSocket reconnection and full UI refresh when app returns to foreground from background
- Update error handling in watchWebsocket() to suppress UI errors for backgrounding (error code 53) while still triggering reconnection
- Simplify API.notifyError() to always report errors, letting UI layer decide what to display

This fixes the issue where WebSocket connections would permanently disconnect after extended backgrounding, as iOS terminates background network connections after ~30 seconds.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-09 11:42:13 -07:00
3a5c285511 version 1.2 v1.2 2025-10-05 18:23:16 -07:00
4021881f11 Resolve various connection issues 2025-10-05 18:19:51 -07:00
839ec53c17 fix volume slider 2025-06-20 19:03:33 -07:00
6e5e587998 implements editing items in favorites 2025-06-20 18:50:06 -07:00
d87d6e038e Appearance tweaks 2025-06-20 18:22:31 -07:00
0d2eb229cf Resolves on-device Bonjour service discovery issue 2025-06-20 15:16:58 -07:00
82b5c886cb More granular websocket error handling 2025-06-20 14:55:55 -07:00
751261ffc4 Bonjour services to info.plist 2025-06-11 21:24:25 -07:00
0e7305baa4 implements youtube search 2025-06-11 21:16:59 -07:00
937a061cdd Implements add media page 2025-06-11 20:13:37 -07:00
601ffc4a75 Implements updated nowplaying view 2025-06-11 19:33:20 -07:00
bde29e7e98 better error handling and server switching 2025-06-11 18:41:39 -07:00
afe985661a add server: show progress bar when resolving 2025-06-11 17:42:26 -07:00
ce8ece23a5 implements favorites/playlist deletion 2025-06-11 15:08:17 -07:00
9aa55864f8 Tweaks to now playing view 2025-06-11 13:48:31 -07:00
a98bcd5b66 Started working on NowPlaying mini 2025-06-11 13:32:34 -07:00
ca829dde4c Implements server selection UI 2025-06-11 13:00:09 -07:00
51048678bb Unify playlist/favorites views 2025-06-11 12:12:53 -07:00
7e6d449c52 Selected server and better settings 2025-06-10 23:10:13 -07:00
0cdbecc031 finish implementing server configuration 2025-06-10 22:40:51 -07:00
f4f3ef543f Started working on multiple server configuration 2025-06-10 18:45:34 -07:00
c775fa0def Implements UI for adding servers in settings, moves to tab model on Phone 2025-06-10 14:16:47 -07:00
13b27a2a1a project reorg 2025-06-10 11:09:44 -07:00
6c183aea03 adds CLAUDE.md 2025-05-30 17:17:18 -07:00
3775f2dc7c Better connection handling, favorites support 2025-05-30 17:06:52 -07:00
8807d6e621 better handling of connection errors 2025-05-30 16:45:09 -07:00
45f1f521e2 implements settings 2025-05-02 21:27:46 -07:00
74c0227ec7 Implements a few more api endpoints 2025-03-03 21:08:47 -08:00
fb9a6fcb9b Initial commit 2025-03-03 20:21:30 -08:00