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

[Feat] 카카오 소셜로그인 기능추가 #12

Merged
merged 3 commits into from
Oct 21, 2023

Conversation

seunghee17
Copy link
Member

Branch Name

  • 생성 브랜치 이름: feat/kakao_final_login

To-Do List

  • 카카오 소셜로그인 구현
  • splash 화면에서 네트워크 사용 가능상태로 감지될때 자동로그인 로직 추가

close #7

@seunghee17 seunghee17 requested a review from Ojongseok October 20, 2023 18:50
Comment on lines +55 to +70
//자동로그인 가능한지 확인
fun checkLogin(){
lifecycleScope.launch{
tokenManager.accessToken.collectLatest {
if(it.isNotEmpty()){
val intent = Intent(this@SplashActivity,MainActivity::class.java)
startActivity(intent)
}
else{
val intent = Intent(this@SplashActivity,LoginActivity::class.java)
startActivity(intent)
}
}
}
}

Copy link
Member

Choose a reason for hiding this comment

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

#11 자동로그인 로직 옮겨야 할 것 같았던 부분인데 이렇게 하면 좋을 것 같아요

@Ojongseok
Copy link
Member

굳 좋네용

@Ojongseok Ojongseok merged commit 4be5ce3 into develop Oct 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Feat] 카카오 소셜로그인
2 participants