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

feature: 카카오로그인+스플래시 수정 #201

Open
wants to merge 13 commits into
base: develop
Choose a base branch
from

Conversation

leeseokchan00
Copy link
Contributor

📌𝘐𝘴𝘴𝘶𝘦𝘴

📎𝘞𝘰𝘳𝘬 𝘋𝘦𝘴𝘤𝘳𝘪𝘱𝘵𝘪𝘰𝘯

  • 카카오 로그인
  • 자동로그인 시 검정색 뜨는거 삭제
  • 스플래시 수정

📷𝘚𝘤𝘳𝘦𝘦𝘯𝘴𝘩𝘰𝘵

  1. 카카오 로그인(자동)
Screen_recording_20241004_200026.mp4
  1. 구글 카카오 계정 전환
Screen_recording_20241004_195649.mp4

💬𝘛𝘰 𝘙𝘦𝘷𝘪𝘦𝘸𝘦𝘳𝘴

수정하다보니 앱을 재시작시켜야 할 상황이 많은거같아요. 프로세스 피닉스 추가해서 오겠습니다.

@leeseokchan00 leeseokchan00 added the 🍯 feature 새로운 기능을 구현합니다. label Oct 4, 2024
@leeseokchan00 leeseokchan00 self-assigned this Oct 4, 2024
Copy link
Member

@junseo511 junseo511 left a 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,
Copy link
Member

Choose a reason for hiding this comment

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

a: 크 EMPTY까지 넣는 센스 👍

Copy link
Contributor Author

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) }
Copy link
Member

Choose a reason for hiding this comment

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

c: showWebView는 동작을 의미하는 것 같아요 Boolean 값에 적절한 네이밍을 찾아보시죠!!

Copy link
Contributor Author

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)
Copy link
Member

Choose a reason for hiding this comment

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

c: 이친구는 이제 슥삭 해주시면 괜찮을듯요?!

Copy link
Contributor Author

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?
Copy link
Member

Choose a reason for hiding this comment

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

c: 규칙5를 확인하고 오시죠!!

Copy link
Contributor Author

Choose a reason for hiding this comment

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

축약자가 view 말하는 걸까요?

Comment on lines 6 to 7
val autoSignIn: Boolean = false,
val authSignIn: Boolean = false,
Copy link
Member

Choose a reason for hiding this comment

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

c: 혹시 이 두 변수의 차이점을 알 수 있나요? 이친구도 좀 이름을 구체화해주시면 좋을 것 같아요!

Copy link
Contributor Author

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"))
Copy link
Member

Choose a reason for hiding this comment

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

a: 피처간의 의존성 주입 👍

Copy link
Contributor Author

Choose a reason for hiding this comment

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

👍👍👍

Comment on lines 35 to 42
if (showSplash.value) {
SplashScreen()
} else {
MainScreen(
navigator = navigator,
modifier = Modifier
)
}
Copy link
Member

Choose a reason for hiding this comment

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

c: 2원칙을 확인하시면 왜 제가 when을 선호하는지 아실 수 있어용 :)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

수정했습니다~

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🍯 feature 새로운 기능을 구현합니다.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

feature: 카카오 로그인
2 participants