-
Notifications
You must be signed in to change notification settings - Fork 9
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
[#1011] Google Sign In 설정 #1014
base: feature/#1011-login-mock-server
Are you sure you want to change the base?
[#1011] Google Sign In 설정 #1014
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.
만능 개발자..! ㄷㄷㄷ 잘 사용하겠습니다!! 감사합니다🙇♀️
GoogleSignInOptions.Builder(GoogleSignInOptions.DEFAULT_SIGN_IN).requestIdToken("SERVER_CLIENT_ID").requestEmail() | ||
.build() |
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.
일단 이거 CredentialManager 사용하는걸로 마이그레이션 해봤어요!! 확인해주셔서 감사해요
suspend inline fun <R> suspendRunCatching(block: () -> R): Result<R> { | ||
return try { | ||
Result.success(block()) | ||
} catch (t: TimeoutCancellationException) { | ||
Result.failure(t) | ||
} catch (c: CancellationException) { | ||
throw c | ||
} catch (e: Throwable) { | ||
Result.failure(e) | ||
} | ||
} |
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.
정확히는 저 CancellationException은 이 코루틴에서 에러가 발생했을 때 다른 코루틴으로의 예외전파를 시키는 것을 막지 않게 하기 위해서 추가한 코드에요
Reference - Kotlin/kotlinx.coroutines#1814
8126336
to
995e4d8
Compare
What is this issue?
Reference