Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[IDLE-409] 딥링크 시스템 구축 및 알림을 통한 화면 분기 #85

Merged
merged 11 commits into from
Oct 9, 2024

Conversation

J0onYEong
Copy link
Contributor

@J0onYEong J0onYEong commented Oct 9, 2024

변경된 점

  • 모듈화를 기반으로 딥링크 동작 구현

모듈화를 기반으로 딥링크 동작 구현

딥링크 동작을 수행할 프로토콜을 구현하였습니다.
딥링크 객체는 코디네이터를 매개변수로 전달받아 특정화면을 표시할 수 있습니다.

public protocol DeeplinkExecutable: DeeplinkTreeNode {
    @discardableResult
    func execute(with coordinator: Coordinator, userInfo: [AnyHashable: Any]?) -> Coordinator?
}
  • 딥링크 과정
  1. 서버로부터 원격알림 메세지 수신
  2. 전달받은 메세지를 파싱하여 경로 추출
  3. 정의된 딥링크 의존관계를 통해 화면네비게이션을 실행

파싱된 경로는 사전에 정의된 딥링크 계층관계를 통해 딥링크 객체에 접근할 수 있습니다.
스크린샷 2024-10-09 오후 5 35 48

  • 시현영상

@J0onYEong J0onYEong merged commit 22154d2 into develop Oct 9, 2024
1 check passed
@J0onYEong J0onYEong deleted the feature/deep_link branch October 9, 2024 08:53
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