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

[2.0.0] 푸시 알림 처리 & 1주일 공지 미확인 알림 #140

Merged
merged 6 commits into from
Feb 17, 2024

Conversation

x-0o0
Copy link
Contributor

@x-0o0 x-0o0 commented Feb 15, 2024

1. PushNotifications 라이브러리 추가

import PushNotifications

2. KuringApp 에 푸시 알림 탭 했을 때 동작 처리

ContentView()
    .fullScreenCover(item: $newNotice) { notice in ... } // 새 공지 보여주기
    .onReceive(newMessagePublisher) { message in ... }    // 새 공지 알림을 탭 했을 때 호출

3. 일주일 미확인 알림

ContentView()
    .onChange(of: scenePhase) { _, scenePhase in
        guard scenePhase == .active else { return }
        Task {
            await appDelegate.requestOneWeekInactiveNotification()
        }
    }
푸시 알림 새 공지 알림 탭 했을 때 커스텀알림 탭 했을 때
Simulator Screenshot - iPhone 15 Pro - 2024-02-17 at 21 57 52 Simulator Screenshot - iPhone 15 Pro - 2024-02-16 at 01 39 10 Simulator Screenshot - iPhone 15 Pro - 2024-02-16 at 01 39 12

@x-0o0 x-0o0 requested review from lgvv and sunshiningsoo February 15, 2024 16:14
@x-0o0 x-0o0 self-assigned this Feb 15, 2024
@x-0o0 x-0o0 added PBM Package Based Modularization (패키지 기반 모듈화) 푸시알림 labels Feb 15, 2024
@x-0o0 x-0o0 linked an issue Feb 15, 2024 that may be closed by this pull request
@x-0o0
Copy link
Contributor Author

x-0o0 commented Feb 15, 2024

/쿠링 패키지 빌드 하고 패키지 테스트

Copy link

🔨 iOS 17.0.1 iPhone 15 Pro 에서 스위프트 패키지를 빌드합니다.

Copy link

🔨 iOS 17 iPhone 15 Pro 에서 쿠링 패키지를 테스트 합니다.

@x-0o0 x-0o0 linked an issue Feb 15, 2024 that may be closed by this pull request
@x-0o0 x-0o0 changed the title [2.0.0] 푸시 알림 처리 [2.0.0] 푸시 알림 처리 & 1주일 공지 미확인 알림 Feb 15, 2024
Copy link

✅ 패키지를 성공적으로 빌드했습니다.

Copy link

✅ iOS17 에서 패키지를 성공적으로 테스트 했습니다.

lgvv
lgvv previously approved these changes Feb 16, 2024
Copy link
Member

@lgvv lgvv left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

웹뷰 구현할 때 여기도 기능 같이 보겠습니다.

@x-0o0
Copy link
Contributor Author

x-0o0 commented Feb 17, 2024

/쿠링 패키지 빌드

Copy link

🔨 iOS 17.0.1 iPhone 15 Pro 에서 스위프트 패키지를 빌드합니다.

Copy link

✅ 패키지를 성공적으로 빌드했습니다.

@x-0o0 x-0o0 requested a review from lgvv February 17, 2024 13:23
@x-0o0 x-0o0 merged commit 566b397 into develop/2.0.0 Feb 17, 2024
@x-0o0 x-0o0 deleted the feature/jaesung/push-notifications branch February 17, 2024 13:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
PBM Package Based Modularization (패키지 기반 모듈화) 푸시알림
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[2.0.0] 1주일 공지 미확인 알림 [2.0.0] 푸시 알림 처리 모듈 추가
2 participants