-
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
#205 : 프로필 수정 푸시 클릭 동작 구현해요 #207
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.
한개만 확인용
viewModelScope.launch { | ||
autoLoginUseCase(versionCode).let { | ||
autoLoginUseCase(state.versionName).let { |
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.
이걸 state에 저장해야될 이유가 있나요? uiState에 넣기에는 ui에는 아무런 영향을 주지 않다 보니깐 좀 애매한데요
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.
오 생각해보니까 그렇네요 !
UiState에서 사용되지 않는데, 굳이 담아둘 필요가 없는 것 같아요 !
다음에 앱 버전이랑 코드 같은 점들 캐싱해서 가져오면 좋을 것 같은데요, 일단 뷰모델 내 변수에 담아두는 방식으로 수정했습니다 !
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. 📄 관련된 이슈 및 소개
#205 : 프로필 수정 푸시 클릭 동작 구현해요
2. 🔥 변경된 점
다음 버전부터 서버에 앱 버전을 전송해요 !
로그인 / 회원가입시에 앱 버전을 전송해요,
푸시 알림 수신시, 프로필 설정화면으로 전환 구현했습니다 !
3. ✅ 필수 체크 사항
로그인 시 사용하는 모델 변경
기존 로그인시에 사용하는 도메인 모델이 fcmToken / fcmTokenDto였는데요 !
presentation 계층으로부터 받아온 앱 버전을 프로퍼티에 추가해야 해서, fcmToken 클래스에 들어가는건 부적절하다고 생각해서,
SignUp / SignUpDto 기반으로 새로 SignIn 모델을 새로 구성했어요 !
naivagetUp && 뒤로가기 동작 확인했습니다 !
4. 📸 작업물 사진 공유(선택)
회원가입 / 로그인시 적재되는 앱버전 확인했고, 서버에서도 정상적으로 적재되는 점 확인했습니다.
![스크린샷 2024-11-23 오후 10 47 01](https://private-user-images.githubusercontent.com/77484719/389253086-a7a61199-387d-4aa4-b0f5-090e7689b32e.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkyMTExNDgsIm5iZiI6MTczOTIxMDg0OCwicGF0aCI6Ii83NzQ4NDcxOS8zODkyNTMwODYtYTdhNjExOTktMzg3ZC00YWE0LWIwZjUtMDkwZTc2ODliMzJlLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTAlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjEwVDE4MDcyOFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTViMTc5YTY1NTM1Y2FlZWQwMDRhMjEwNjU3Nzg1NTFkNWFkMTY4YTk2MzM2Y2Q2Y2FmNDQ3YTdkNzUwZGQ4ZTAmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.Masu4EqXNC4_yZv5N-ByYLnskL46w0Pb1KqEwVRNBew)
관련해서 로그 기록이랑 동영상 첨부드립니다 !
'
Screen_recording_20241124_035645.webm
5. 💡알게된 혹은 궁금한 사항