Skip to content

Add app pause/resume handling (issue #458)#786

Closed
alanpoon wants to merge 22 commits intoproject-robius:mainfrom
Project-Robius-China:issue_458_china2
Closed

Add app pause/resume handling (issue #458)#786
alanpoon wants to merge 22 commits intoproject-robius:mainfrom
Project-Robius-China:issue_458_china2

Conversation

@alanpoon
Copy link
Copy Markdown
Contributor

Summary

  • Stop sync service when app is paused (mobile background)
  • Restart sync service when app resumes
  • Saves battery and network resources when app is not in foreground
  • Foundation for offline mode support

Test plan

  • Test on Android: verify sync stops when app goes to background
  • Test on iOS: verify sync stops when app goes to background
  • Verify sync resumes when app comes back to foreground
  • Check battery/network usage improvement

tyreseluo and others added 22 commits March 24, 2026 15:59
Reset runtime state and return to the login loop when session tokens expire, and remove persisted Matrix stores alongside stale session files.
Make the login form use a narrower centered layout and remove the extra outer login panel background so the desktop presentation matches the mobile-style card better.
Keep the login screen layout intact while replacing the extra outer login panel with a plain view so the screen no longer draws a separate card container.
Fix session restore and in-app signup flow
feat: add thread entry points to the message context menu
)

- Stop sync service when app is paused (mobile background)
- Restart sync service when app resumes
- Saves battery and network resources when app is not in foreground
- Foundation for offline mode support

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@alanpoon alanpoon closed this Mar 27, 2026
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.

3 participants