feat: mobile companion design spec and backend auth updates#79
Merged
ZingerLittleBee merged 15 commits intomainfrom Mar 28, 2026
Merged
feat: mobile companion design spec and backend auth updates#79ZingerLittleBee merged 15 commits intomainfrom
ZingerLittleBee merged 15 commits intomainfrom
Conversation
Implement Unit 3 of the iOS companion app: - WebSocketClient: connects to /api/ws/servers with Bearer auth, decodes BrowserMessage frames, auto-reconnects with exponential backoff and jitter - NetworkMonitor: NWPathMonitor wrapper publishing connectivity state on the main thread - OfflineBannerView: yellow banner shown when device is offline - Model types: BrowserMessage (custom Decodable), ServerStatus, PartialServerStatus, AlertStatus, ApiResponse - Minimal project scaffold (project.yml, ServerBeeApp, Assets) Builds successfully with xcodegen + xcodebuild on iOS Simulator.
#72) Implement Unit 2 of the iOS companion app: networking and authentication infrastructure. - KeychainService: generic Security.framework wrapper for token/user persistence - InstallationID: stable UUID persisted in Keychain across reinstalls - AuthManager: @observable auth state with Keychain restore and token refresh - APIClient: actor-based HTTP client with automatic 401 retry and coalesced token refresh - Model types: MobileUser, MobileTokenResponse, ApiResponse, auth request DTOs - Minimal app shell (ServerBeeApp, project.yml, Info.plist) for build verification Targets iOS 17+, Swift 6.0 strict concurrency. Builds with zero warnings.
…ttleBee/ServerBee into dhaka # Conflicts: # apps/ios/ServerBee/Info.plist # apps/ios/project.yml
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
# Conflicts: # apps/ios/ServerBee/Assets.xcassets/AccentColor.colorset/Contents.json # apps/ios/ServerBee/Info.plist # apps/ios/ServerBee/Models/APIModels.swift # apps/ios/ServerBee/Models/AlertModels.swift # apps/ios/ServerBee/Models/AuthModels.swift # apps/ios/ServerBee/Models/ServerStatus.swift # apps/ios/ServerBee/Models/WebSocketModels.swift # apps/ios/ServerBee/ServerBeeApp.swift # apps/ios/project.yml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Changes
2026-03-28-serverbee-mobile-companion-design.md)