Skip to content

[iOS] [Feat] [알림] 알림 탭 시 딥링크 기반 화면 이동 연동 #101

Description

@seungwone

관련 티켓

작업 내용

  • InAppNotification 모델에 deepLink: URL? 필드 추가 (Interface)
  • NotificationResponseDTO에서 deepLink 파싱 (NotificationClient+Live)
  • NotificationFeature.Action.DelegatedeepLinkRequested(URL) 추가
  • notificationTapped 처리 시 읽음 처리 + deepLink delegate 전달
  • MainTabFeature에서 deepLink URL scheme 파싱 후 각 화면으로 라우팅:
    • todakun://chat/conversations/{id} → TodakFeature 대화 화면 (AI_COMPLETE)
    • todakun://lucky-action/... → LuckyActionFeature 상세 (LUCKY_ACTION)
    • todakun://fortune/... → FortuneFeature 궁합/택일 결과 (FORTUNE)
    • NOTICE 타입 또는 미지원 scheme → 이동 없음 (읽음 처리만)

완료 조건

  • 알림 목록에서 AI_COMPLETE 항목 탭 시 해당 토닥이 대화 화면으로 이동
  • LUCKY_ACTION, FORTUNE 타입 탭 시 각 기능 화면으로 이동
  • NOTICE 또는 deepLink 없는 항목 탭 시 아무 동작 없음 (읽음 처리는 유지)
  • 딥링크 파싱 실패(미지원 URL) 시 앱 크래시 없이 graceful fallback

참고 사항

  • 서버 deepLink 예시: todakun://chat/conversations/{conversationID}
  • LUCKY_ACTION, FORTUNE 타입의 실제 deepLink URL 스펙은 서버팀 확인 필요
  • TodakFeature가 conversationID를 파라미터로 받아 특정 대화로 직접 진입할 수 있는지 사전 확인 필요

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

enhancement기능 개발, 리팩토링, 설정 변경 등 전반적인 작업

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions