-
Notifications
You must be signed in to change notification settings - Fork 0
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
feature: 카카오로그인+스플래시 수정 #201
base: develop
Are you sure you want to change the base?
Conversation
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.
리뷰가 조금 늦었네요 😅 실력 진짜 많이 느셨는데요?
package com.teamoffroad.feature.auth.domain.model | ||
|
||
enum class SocialSignInPlatform { | ||
EMPTY, |
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.
a: 크 EMPTY까지 넣는 센스 👍
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.
감사합니다잉ㅎㅎ
@@ -55,23 +58,12 @@ internal fun AuthScreen( | |||
viewModel.performGoogleSignIn(task) | |||
} | |||
} | |||
var showWebView by remember { mutableStateOf(false) } |
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.
c: showWebView는 동작을 의미하는 것 같아요 Boolean 값에 적절한 네이밍을 찾아보시죠!!
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.
isShowWebView 이런식으로 가야될 거 같아요.
redirectUri = BuildConfig.KAKO_REDIRECT_URI, | ||
onCodeReceived = { code -> | ||
viewModel.performKakaoSignIn(code) | ||
Log.d("asdasd", code) |
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.
c: 이친구는 이제 슥삭 해주시면 괜찮을듯요?!
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.
엇 ㅎㅎㅎ
override fun onPageStarted( | ||
view: WebView?, | ||
url: String?, | ||
favicon: android.graphics.Bitmap? |
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.
c: 규칙5를 확인하고 오시죠!!
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.
축약자가 view 말하는 걸까요?
val autoSignIn: Boolean = false, | ||
val authSignIn: Boolean = false, |
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.
c: 혹시 이 두 변수의 차이점을 알 수 있나요? 이친구도 좀 이름을 구체화해주시면 좋을 것 같아요!
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.
요거는 저도 쓰면서 헷갈렸는데 수정하겠습니다ㅋㅋㅋㅋ
@@ -10,6 +10,7 @@ android { | |||
} | |||
|
|||
dependencies { | |||
implementation(project(":feature:auth")) |
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.
a: 피처간의 의존성 주입 👍
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.
👍👍👍
if (showSplash.value) { | ||
SplashScreen() | ||
} else { | ||
MainScreen( | ||
navigator = navigator, | ||
modifier = Modifier | ||
) | ||
} |
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.
c: 2원칙을 확인하시면 왜 제가 when을 선호하는지 아실 수 있어용 :)
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.
수정했습니다~
📌𝘐𝘴𝘴𝘶𝘦𝘴
📎𝘞𝘰𝘳𝘬 𝘋𝘦𝘴𝘤𝘳𝘪𝘱𝘵𝘪𝘰𝘯
📷𝘚𝘤𝘳𝘦𝘦𝘯𝘴𝘩𝘰𝘵
Screen_recording_20241004_200026.mp4
Screen_recording_20241004_195649.mp4
💬𝘛𝘰 𝘙𝘦𝘷𝘪𝘦𝘸𝘦𝘳𝘴
수정하다보니 앱을 재시작시켜야 할 상황이 많은거같아요. 프로세스 피닉스 추가해서 오겠습니다.