Skip to content

Fix node background persistence and reconnection#18

Merged
mithun50 merged 5 commits intomainfrom
fix/node-background-persistence
Feb 14, 2026
Merged

Fix node background persistence and reconnection#18
mithun50 merged 5 commits intomainfrom
fix/node-background-persistence

Conversation

@mithun50
Copy link
Copy Markdown
Owner

  • Handle both resumed and paused lifecycle states
  • Force connection health check on app resume (Dart timers freeze in bg)
  • Ensure foreground service stays running when app is backgrounded
  • Watchdog now also verifies foreground service is alive
  • Update notification text to reflect node connection status
  • Add updateNodeNotification method channel bridge

- Handle both resumed and paused lifecycle states
- Force connection health check on app resume (Dart timers freeze in bg)
- Ensure foreground service stays running when app is backgrounded
- Watchdog now also verifies foreground service is alive
- Update notification text to reflect node connection status
- Add updateNodeNotification method channel bridge
- Release camera hardware immediately after each snap/clip instead of
  caching the controller, preventing "Failed to submit capture request"
- Add 500ms settle time before snap for auto-exposure/focus
- Use try/finally to guarantee camera disposal even on errors
- Fix flash capability to detect and recover from stale controllers
- Release flash camera controller when torch is turned off to avoid
  blocking subsequent snap/clip operations
@mithun50 mithun50 merged commit 49b7c39 into main Feb 14, 2026
10 of 11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant