-
Notifications
You must be signed in to change notification settings - Fork 1
[REFACTOR/#372] 네비게이션 구조 수정 #377
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
Conversation
boiledeggg
left a comment
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.
만점 드립니다,,💯
| import kotlinx.serialization.SerialName | ||
| import kotlinx.serialization.Serializable | ||
|
|
||
| private const val SPLASH_PATH: String = "terning://splash" |
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.
함수를 없애고 URL로 탐색되도록 바꾼거군요?? 딥링크의 세계란...
| .currentBackStackEntryAsState().value?.destination | ||
|
|
||
| val startDestination = Splash | ||
| fun startDestination(redirect: String?) = Splash(redirect = redirect) |
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.
함수로 바뀐거라면 이름도 바꿀 필요가 있어보이네요!
| companion object { | ||
| private const val REDIRECT: String = "redirect" | ||
|
|
||
| @JvmStatic |
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.
여기에 JvmStatic을 붙여준 이유가 뭔가요? FirebaseMessagingService 내부에서 호출돼서 그런건가요??
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.
사실 xml로 프로젝트를 할 때 액티비티에 인텐트를 사용할 일이 있으면 저렇게 @JvmStatic을 붙여주는 게 습관이 돼서 붙였었는데요..!
찾아보니까 굳이 넣을 필요 없을 것 같아서 빼두겠습니다!
⛳️ Work Description
:core:navigator모듈 생성:feature:main,:core:firebase모듈 의존성 수정terningScheme 등록MessagingService코드 작성:feature:splash모듈 만들기📸 Screenshot
📢 To Reviewers