Skip to content

Polish mobile release#155

Open
marius-cristian wants to merge 4 commits into
mainfrom
polish_mobile_release
Open

Polish mobile release#155
marius-cristian wants to merge 4 commits into
mainfrom
polish_mobile_release

Conversation

@marius-cristian
Copy link
Copy Markdown
Contributor

Continuation of this accidental push: 1295843

The story is in the commit messages

Encrypted disk store (.kd_shared) tracks files per peer using
  HMAC tags. Different peer or incognito = cleared, zero leakage.
Restore + notify peer on same-peer reconnect so resume works.
Check IP before relay re-registration (Wi-Fi → mobile switch).
Fix nil panic in disconnect path, fix registry key on desktop.
Fix iOS flicker: reset wake timestamp on fresh connect.
- Add UnshareFile API: removes from shared list + notifies peer
  with REMOVE_FILE. File stays on disk. Wired in Rust, iOS, Android.
- PruneStaleLocalFiles in SyncTracker: stat-checks local files,
  removes entries whose underlying file was deleted from disk.
  Called from both mobile and desktop before listing files.
- iOS disconnect detection: poll connectionStatus every 2s, if
  disconnected for >1s go back to connect screen.
- Fix flicker: reset lastActiveTime on fresh connect.
- Poll interval bumped to 2s (was 1s) to reduce lock contention.
@marius-cristian marius-cristian requested a review from ac999 May 16, 2026 17:56
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