fix(login): 네이티브 구글 로그인 scopes 제거 (MainActivity 수정 요구 오류 해소)
CI / build (push) Failing after 12m13s

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
ByungCheol
2026-07-12 12:38:26 +09:00
parent 8386974ec9
commit 08a88f9198
+3 -1
View File
@@ -37,9 +37,11 @@ export async function signInWithGoogle(webClientId: string): Promise<string> {
await SocialLogin.initialize({ google })
initializedFor = webClientId
}
// scopes 를 넘기면 플러그인이 MainActivity 수정을 요구한다.
// 기본 로그인(Credential Manager)은 email·profile 이 ID 토큰에 포함되므로 scopes 불필요.
const res = await SocialLogin.login({
provider: 'google',
options: { scopes: ['email', 'profile'] },
options: {},
})
const result = res.result as { idToken?: string | null }
if (!result?.idToken) {