feat(notification): 알림함 진입 및 딥링크 라우팅을 추가한다

This commit is contained in:
Yu Sung
2026-03-12 18:35:43 +09:00
parent 2b58a0147b
commit af8813685e
20 changed files with 788 additions and 32 deletions

View File

@@ -110,6 +110,14 @@ struct SplashView: View {
private func nextAppStep() {
DispatchQueue.main.asyncAfter(deadline: .now() + 0.7) {
withAnimation {
if let pendingDeepLinkAction = AppState.shared.consumePendingDeepLinkAction() {
AppState.shared.setAppStep(step: .main)
DispatchQueue.main.asyncAfter(deadline: .now() + 0.5) {
AppDeepLinkHandler.apply(action: pendingDeepLinkAction)
}
return
}
if !UserDefaults.string(forKey: UserDefaultsKey.token).trimmingCharacters(in: .whitespacesAndNewlines).isEmpty {
if AppState.shared.pushRoomId > 0 {
liveViewModel.enterLiveRoom(roomId: AppState.shared.pushRoomId)