Skip to content

feat: sync cached timetables on app resume - #5

Merged
Ryoga-exe merged 2 commits into
mainfrom
feat/timetable-sync
Nov 6, 2026
Merged

Ryoga-exe merged 2 commits into
mainfrom
feat/timetable-sync

Conversation

@Ryoga-exe

Copy link
Copy Markdown
Member

Summary

  • Show cached timetable and today's schedule before automatic refresh on startup/resume.
  • Refresh stale snapshots after five minutes; retain saved data on network failure and cancel stale account/date work.
  • Show cached account during online session validation, with a 15-second Ktor request timeout. A 401 clears the cached session.

Verification

  • ./gradlew :shared:allTests :androidApp:assembleDebug :shared:compileKotlinIosArm64 :androidApp:lintDebug --continue
  • xcodebuild -project iosApp/iosApp.xcodeproj -scheme iosApp -configuration Debug -sdk iphonesimulator -destination 'generic/platform=iOS Simulator' CODE_SIGNING_ALLOWED=NO build
  • Existing timetable sync behavior confirmed on device before the session startup change; the startup change still needs device smoke testing.

@Ryoga-exe
Ryoga-exe merged commit 01d309c into main Nov 6, 2026
2 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