소셜 웹 로그인 중단·실패를 이메일 오류 대신 소셜 로그인 문구로 안내 · 네트워크 오류 안내 · Android 중단된 웹 로그인 정리 후 재시도
This commit is contained in:
@@ -369,9 +369,11 @@ const _names = {
|
||||
AuthProviderKind.email: '이메일로',
|
||||
};
|
||||
|
||||
/// 로그인 결과 안내. 취소 · 중단도 안내한다 — 로그인 성공으로 처리하지 않고 다시 시도하게 한다.
|
||||
/// 아무 말 없이 화면이 그대로면 사용자는 앱이 멈춘 줄 안다.
|
||||
String? authNotice(AuthOutcome outcome) => switch (outcome) {
|
||||
AuthSucceeded() => null,
|
||||
AuthCancelled() => null,
|
||||
AuthCancelled() => '로그인이 완료되지 않았습니다. 다시 시도해 주세요.',
|
||||
AuthFailed(:final code, :final message) => '[$code] $message',
|
||||
AuthNotConfigured(:final provider, :final missing) =>
|
||||
'${provider.shortName} 로그인은 아직 준비 중입니다.\n'
|
||||
|
||||
Reference in New Issue
Block a user