-
Notifications
You must be signed in to change notification settings - Fork 1
[FEAT/#382] FCM 푸시알림 커스텀 / Payload 형식에 맞게 구현 #383
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
Merged
Merged
Changes from 14 commits
Commits
Show all changes
16 commits
Select commit
Hold shift + click to select a range
b16f0b8
[FEAT/#382] imageUrl 추가
leeeyubin 6214e64
[FEAT/#382] 푸시알림 LargeIcon 구현
leeeyubin 18aacdb
[FEAT/#382] 상태바, 네비게이션바 색상 설정
leeeyubin 16fed9c
[FEAT/#382] 화면이동 하는 뷰 딥링크 작성
leeeyubin 86bc36a
[FEAT/#382] 포그라운드 여부를 포함한 알림 유형 분기처리 구현
leeeyubin 8dd57a1
[FEAT/#382] 딥링크 고정 값 작성
leeeyubin a07c088
[FEAT/#382] 리다이렉트 enum class 작성
leeeyubin 28b07be
[FEAT/#382] :core:designsystem 의존성 추가
leeeyubin 14f2a91
[FEAT/#382] 기존 코드 효율적으로 변경
leeeyubin 10853db
[FEAT/#382] MainNavigator enum class 사용
leeeyubin a0950d9
[FEAT/#382] buildDeeplink 함수명 수정
leeeyubin 3d11f5f
[CHORE/#382] 한 줄 공백 제거
leeeyubin 565f4e0
[CHORE/#382] 조건 변수화
leeeyubin fbf686d
[CHORE/#382] 줄바꿈 추가
leeeyubin 8d6da4d
[CHORE/#382] Splash 화면에 onDispose 추가
leeeyubin a08dc32
[CHORE/#382] splashNavOptions 변수화
leeeyubin File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
12 changes: 12 additions & 0 deletions
12
core/designsystem/src/main/java/com/terning/core/designsystem/type/NotificationRedirect.kt
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,12 @@ | ||
| package com.terning.core.designsystem.type | ||
|
|
||
| enum class NotificationRedirect(val path: String) { | ||
| CALENDAR("calendar"), | ||
| HOME("home"), | ||
| SEARCH("search"); | ||
|
|
||
| companion object { | ||
| fun from(type: String?): NotificationRedirect? = | ||
| entries.firstOrNull { it.path.equals(type, ignoreCase = true) } | ||
| } | ||
| } |
7 changes: 7 additions & 0 deletions
7
core/designsystem/src/main/java/com/terning/core/designsystem/util/DeeplinkDefaults.kt
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,7 @@ | ||
| package com.terning.core.designsystem.util | ||
|
|
||
| object DeeplinkDefaults { | ||
| const val REDIRECT: String = "redirect" | ||
|
|
||
| fun build(base: String) = "terning://${base}" | ||
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
조건들을 변수로 선언해두면 코드 가독성이 지금보다 좋아질 것 같아요!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
반영했습니다! 가독성이 좋아진 것 같네요:)