-
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
#72 [feat] 카카오 로그인 구현 #82
Conversation
서버와 로그인 통신 성공 시, accessToken, refreshToken 저장
…akao-login # Conflicts: # app/src/main/java/com/sopetit/softie/di/RepositoryModule.kt # app/src/main/java/com/sopetit/softie/di/RetrofitServiceModule.kt
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.
진짜 미쳤다... 고생했습니다!
<activity | ||
android:name="com.kakao.sdk.auth.AuthCodeHandlerActivity" | ||
android:exported="true" | ||
android:launchMode="singleTask"> |
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.
singleTask가 어떤 역할인가요?
class KakaoLoginCallback( | ||
private val onSuccess: (accessToken: String) -> Unit | ||
) { | ||
fun handleResult(token: OAuthToken?, error: Throwable?) { |
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.
진짜 꼼꼼하다.. 몇개야
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.
카카오 로그인 진짜 수고하셨습니당
} else { | ||
Intent(this, LoginActivity::class.java) | ||
} | ||
// intent = Intent(this, LoginActivity::class.java) |
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.
ㅇㅊㅊ~
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.
카카오 로그인 넘넘 수고하셨습니다 ㅠㅠㅠ 리드 최고 !!!!!!!!!1
import dagger.hilt.android.HiltAndroidApp | ||
import timber.log.Timber | ||
|
||
@HiltAndroidApp | ||
class SoftieApplication : Application() { | ||
override fun onCreate() { | ||
super.onCreate() | ||
KakaoSdk.init(this, KAKAO_NATIVE_APP_KEY) |
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.
코드에 카카오가 들어가 있는게 묘하게 깐지나네요..
class KakaoLoginCallback( | ||
private val onSuccess: (accessToken: String) -> Unit | ||
) { | ||
fun handleResult(token: OAuthToken?, error: Throwable?) { |
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.
진짜 꼼꼼하다.. 몇개야
<string name="finish_app_toast_msg">뒤로가기를 한 번 더 누르면 종료됩니다</string> | ||
|
||
<!-- login --> | ||
<string name="login_content">날 꺼내줘!</string> |
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.
커엽다..
📑 Work Description
🛠️ Issue
📷 Screenshot
kakao.mp4
💬 To Reviewers