1.1 KiB
1.1 KiB
iOS Hardening Notes
The local Xcode prerequisite gate now passes with Xcode 26.5 and the iOS 26.5 simulator runtime.
Validated commands:
DEVELOPER_DIR=/Applications/Xcode.app/Contents/Developer scripts/check-ios-prereqs.sh
DEVELOPER_DIR=/Applications/Xcode.app/Contents/Developer xcodebuild -scheme TeleTuiIOSApp -destination 'generic/platform=iOS Simulator' build
Implemented hardening hooks:
SessionLifecycleCoordinatorsuspends polling while the app is backgrounded.- Account switches increment a session generation counter.
- Events are accepted only when both account id and generation match the active session, preventing stale events from a previous account from reaching view models.
Manual smoke still required after real TDLib device setup:
- Auth with real Telegram credentials.
- Load chats, open multiple chats, send/edit/delete/reply/forward/react.
- Background and foreground during history load and media download.
- Switch accounts rapidly while receiving updates.
- Confirm no stale events from the previous account mutate the active account.