Skip to content

[Fix] 온라인 전환 시 업데이트 재확인 및 강제 업데이트 처리 #559 - #560

Open
edv-Shin wants to merge 2 commits into
fix/offline-splash-freeze-555from
fix/online-reconnect-update-check-559
Open

[Fix] 온라인 전환 시 업데이트 재확인 및 강제 업데이트 처리 #559#560
edv-Shin wants to merge 2 commits into
fix/offline-splash-freeze-555from
fix/online-reconnect-update-check-559

Conversation

@edv-Shin

Copy link
Copy Markdown
Contributor

개요

오프라인으로 진입한 뒤 온라인으로 전환됐을 때 업데이트를 재확인하고, 강제 업데이트가 필요하면 blocking 다이얼로그를 표시합니다. (#555 후속)

변경 내용

  • MainViewModel: NetworkMonitor.networkState를 구독해 false → true 전환 + 콘텐츠 진입 후 조건에서 업데이트 재확인 트리거
  • MainViewModel: onAvailable 직후 일시적 네트워크 불안정 대비 1.5초 딜레이 후 재확인
  • MainViewModel: 재확인 실패 시 조용히 무시 (사용자 경험 유지)
  • MainViewModel: 강제 업데이트 감지 시 forceUpdateAfterReconnect emit
  • MainActivity: 콘텐츠 진입 시 onContentShown() 호출로 재확인 조건 활성화
  • MainActivity: forceUpdateAfterReconnect 수집 → blocking 다이얼로그 표시

트레이드오프

  • onAvailable 감지 후 1.5초 딜레이 동안 앱 사용 가능
  • 재확인 실패 시 강제 업데이트를 차단하지 않음 (다음 재연결 또는 앱 재시작 때 재시도)

확인 사항

  • 오프라인 진입 → 온라인 전환 → 강제 업데이트 다이얼로그 표시
  • 오프라인 진입 → 온라인 전환 → 선택 업데이트는 다이얼로그 미표시
  • 온라인 상태로 정상 진입 시 재확인 트리거 없음

Closes #559

@edv-Shin
edv-Shin changed the base branch from dev to fix/offline-splash-freeze-555 August 10, 2026 10:37
@edv-Shin edv-Shin self-assigned this Aug 10, 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.

[Fix] 온라인 전환 시 업데이트 재확인 및 강제 업데이트 처리

1 participant