feat: iOS 네이티브 Google 로그인 추가#181
Merged
Merged
Conversation
- google_native.dart: shouldUseNativeGoogle + GoogleNativeSignIn 어댑터 (google_sign_in v7, idToken 만 교환 — accessToken·nonce 불필요) - gateway signInWithOAuth/linkOAuth 에 iOS+Google 네이티브 분기 추가 (signInWithIdToken/linkIdentityWithIdToken, 외부 Safari 이탈 제거) - client ID 는 GOOGLE_IOS/WEB_CLIENT_ID dart-define, 미설정 시 웹 OAuth 폴백 - deploy-ios.yml + Fastfile 선택적 주입, Info.plist reversed scheme 자리 - google_native 단위 테스트, docs(ADR-0031·기술스택·가이드) 동기화 Closes #180
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
요약
iOS Google 로그인을 외부 Safari 이탈 없이 네이티브 시트로 띄운다. Apple 네이티브와 동일 패턴(순수 함수
shouldUseNativeGoogle+ 얇은 어댑터 + 게이트웨이 분기). ADR-0028 에서 보류했던 후속 과제.동작
google_sign_inv7 네이티브 →signInWithIdToken(idToken만).linkOAuth)도 동일 분기(linkIdentityWithIdToken).GOOGLE_IOS_CLIENT_ID/GOOGLE_WEB_CLIENT_IDdart-define 없으면 웹 OAuth 폴백 → 기존 동작·배포 무영향.테스트
google_native_test.dart:shouldUseNativeGoogle4케이스 +isConfigured폴백.flutter analyzeclean, 전체 test green(343).남은 콘솔 작업(사용자, 코드 아님)
Google Cloud iOS OAuth 클라이언트 → CI secret + Info.plist reversed scheme + Supabase Authorized Client IDs. 상세: docs
가이드/ios/google-로그인.md.docs
ADR-0031 신규 + 기술스택 + 가이드 동기화(별도 docs repo push 완료).
Closes #180