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/#13 카카오 로그인 기능 설정 #28

Merged
merged 4 commits into from
Dec 18, 2023

Conversation

bamin0422
Copy link
Collaborator

@bamin0422 bamin0422 commented Oct 4, 2023

🧨이슈

🔍 상세 내용 (해결 내용)

  • 카카오 developer 사이트 설정
  • 카카오 로그인 SDK 추가
  • 카카오 로그인 버튼 테스팅 구현

💡 참고자료 및 공유할만한 자료 (선택)

❕후속 진행 이슈

@bamin0422 bamin0422 added the 로그인 + 가입 로그인 + 가입 화면 개발 라벨 label Oct 4, 2023
@bamin0422 bamin0422 self-assigned this Oct 4, 2023
@bamin0422 bamin0422 changed the base branch from main to develop October 4, 2023 16:17
import dagger.hilt.android.HiltAndroidApp

@HiltAndroidApp
class OworiApplication: Application() {
override fun onCreate() {
super.onCreate()
KakaoSdk.init(this, "6c28960f69d4c7f00043b02d890dd6e0")
Copy link
Member

Choose a reason for hiding this comment

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

서버키 같은 상수들은 따로 strings.xml 이나 별도의 configuration.xml 로 관리하는게 좋을거 같습니다.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

별도의 configuration.xml에서 관리할 수 있도록 하겠습니다!

import javax.inject.Inject

@HiltViewModel
class LoginViewModel @Inject constructor() : BaseViewModel() {
class LoginViewModel @Inject constructor(@ApplicationContext private val context: Context) : BaseViewModel() {
Copy link
Member

Choose a reason for hiding this comment

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

context를 주입받지 않고 그냥 AndroidViewModel을 사용해도 될 거 같습니다.
혹은 해당 context가 필요한 로직들은 activity에서 관장하고, 그 이후의 비즈니스 로직만 viewmodel에서 관리해도 될것으로 보입니다.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

넵 context 필요한 로직은 viewmodel에서 분리하겠습니다!

@JJJoonngg
Copy link
Member

@bamin0422 conflit 해결해서 머지~!

@bamin0422
Copy link
Collaborator Author

오케오케!!

@bamin0422 bamin0422 merged commit c1edf9d into develop Dec 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
로그인 + 가입 로그인 + 가입 화면 개발 라벨
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants