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-515] 요양보호사 주변 공고 등록시 알림을 전송한다. #102

Merged
merged 8 commits into from
Nov 13, 2024

Conversation

J0onYEong
Copy link
Contributor

변경된 점

  • 요양보호사는 알림을 통해 원하는 화면의 공고로 이동할 수 있다.
  • 요양보호사는 알림 페이지에서 자신에게 전송된 알림을 확인할 수 있다.

요양보호사는 알림을 통해 원하는 화면의 공고로 이동할 수 있다.

기존에 다소 복잡했던 딥링크 동작을 깔끔하게 정리했습니다.

  • 딥링크 동작
    먼저 딥링크를 처리할 수 있는 루트와 스타팅 포인트를 탐색합니다. 스타팅포인트는 옵셔널 입니다.
    스타팅 포인트를 따로둔 이유는 알림 인앱처리시 루트가 코디네이터에 대한 처리가 필요없기 때문입니다.

예를들어 공고의 지원자로 이동이 필요한 경우, 앱 밖에서 알림 수신후 해당 알림 클릭시
메인화면 > 지원자화면 해당 플로우로 진행됩니다.
인앱에서 알림 설택 및 알림창에서 수신했던 알림 클릭시엔 이미 메모리에 있는 메인화면을 재사용하지 않고 곧바로 목적지로 이동합니다.
헤당 포인트가 FirstStartPointAboveApp입니다.

if deeplinks.isEmpty {
    
    // 딥링크의 경로의 첫번째 시작지점을 선정합니다.
    
    var start: DeeplinkExecutable!
    
    if startFromRoot {
        start = try findRoot(component: component)
    } else {
        start = try findFirstStartPointAboveApp(component: component)
    }
    
    deeplinks.append(start)
    continue
}

시현영상

@J0onYEong J0onYEong merged commit 03c073b into develop Nov 13, 2024
1 check passed
@J0onYEong J0onYEong deleted the feature/fcm_to_workers_when_post_updated branch November 13, 2024 08:35
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