fix: 카카오톡 설치 기기에서도 웹뷰 로그인으로 폴백되던 문제 수정 - #204
Merged
Merged
Conversation
카카오 config 플러그인에 ios/android 옵션이 빠져 있어 URL scheme, LSApplicationQueriesSchemes, AppDelegate openURL 처리가 생성되지 않았고, 이 때문에 카카오톡 설치 여부와 무관하게 항상 웹뷰 로그인으로 빠졌음.
|
Important
This repository does not receive automatic reviews because it has fewer than 10 stars. ⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Plus Run ID: Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Contributor
|
수고했어요! |
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.
Summary
@react-native-kakao/coreconfig 플러그인에nativeAppKey만 넘기고ios/android옵션이 빠져 있어, 플러그인의withIos/withAndroidmod가 아예 실행되지 않았음Info.plist에 카카오 URL scheme /LSApplicationQueriesSchemes가 없었고,AppDelegate.swift에도 카카오 로그인 콜백 URL 처리가 없어서 카카오톡 설치 여부와 무관하게 항상 웹뷰(카카오계정) 로그인으로 폴백되던 문제Changes
app.config.js: 플러그인에ios: { handleKakaoOpenUrl: true },android: { authCodeHandlerActivity: true }추가 (근본 수정 — 다음 prebuild부터 android도 자동 반영)ios/semosan/Info.plist:kakao{NATIVE_APP_KEY}URL scheme,LSApplicationQueriesSchemes(kakaokompassauth,kakaolink,kakaoplus) 추가ios/semosan/AppDelegate.swift:application(_:open:options:)에RNCKakaoUserUtil카카오 로그인 URL 처리 추가ios/가 위젯 타겟 때문에 git에 커밋되어 있어, 전체expo prebuild재실행 대신 플러그인이 생성했을 내용을 그대로 수동 반영했습니다.Test plan