fix :: 카카오 로그인 iOS bundleId validation 오류 수정#3
Open
dpqlsn wants to merge 1 commit into
Open
Conversation
- loginWithKakaoAccount() → login() 으로 변경 카카오톡 앱 설치 시 앱 직접 인증 사용, 미설치 시 웹 fallback 웹 기반 인증의 bundleId validation 오류를 우회 - Android: AndroidManifest.xml에 카카오 관련 intent queries 추가 (kakaokompassauth, storykompassauth, kakaolink) - react-native-webview 패키지 추가 Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
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.
변경 사항
문제
카카오 로그인 시
AuthFailed reason:Misconfigured desc:IOS bundleId validation failed에러 발생원인 분석
loginWithKakaoAccount()는 항상 Safari WebView 기반 웹 인증을 사용하며, 이 과정에서 카카오 서버가 iOS 번들 ID를 검증함. 번들 ID(com.oops.beauty)가 카카오 개발자 콘솔에 등록되어 있어도 Redirect URI 미설정 등 부가 조건 불충족 시 동일 에러 발생.수정 내용
src/api/kakaoAuth.ts:loginWithKakaoAccount()→login()으로 변경android/app/src/main/AndroidManifest.xml: 카카오 관련 intent queries 추가(
kakaokompassauth,storykompassauth,kakaolink)package.json:react-native-webview패키지 추가yarn.lock: 락파일 추가iOS 네이티브 수정 (gitignore로 PR 미포함, prebuild 시 재적용 필요)
ios/Oops/AppDelegate.swift:handleOpen→handleOpenUrl(url:)메서드명 오타 수정ios/Oops/Info.plist:LSApplicationQueriesSchemes에kakaotalk,kakaoLinkDefault,sharedafkakaokompassauth추가추가 필요 작업 (콘솔)
카카오 개발자 콘솔 → 제품 설정 → 카카오 로그인 → Redirect URI에 아래 값 추가:
🤖 Generated with Claude Code