Skip to content

fix: 카카오톡 설치 기기에서도 웹뷰 로그인으로 폴백되던 문제 수정 - #204

Merged
JioCoder merged 1 commit into
mainfrom
fix/kakao-login
Sep 1, 2026
Merged

fix: 카카오톡 설치 기기에서도 웹뷰 로그인으로 폴백되던 문제 수정#204
JioCoder merged 1 commit into
mainfrom
fix/kakao-login

Conversation

@peisonger

@peisonger peisonger commented Aug 31, 2026

Copy link
Copy Markdown
Contributor

Summary

  • @react-native-kakao/core config 플러그인에 nativeAppKey만 넘기고 ios/android 옵션이 빠져 있어, 플러그인의 withIos/withAndroid mod가 아예 실행되지 않았음
  • 그 결과 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

  • 카카오톡 설치된 iOS 실기기에서 로그인 시 카카오톡 앱으로 전환되어 1초 로그인 되는지 확인
  • 카카오톡 미설치 기기에서는 기존처럼 웹뷰 로그인이 정상 동작하는지 확인

카카오 config 플러그인에 ios/android 옵션이 빠져 있어 URL scheme,
LSApplicationQueriesSchemes, AppDelegate openURL 처리가 생성되지
않았고, 이 때문에 카카오톡 설치 여부와 무관하게 항상 웹뷰 로그인으로
빠졌음.
@coderabbitai

coderabbitai Bot commented Aug 31, 2026

Copy link
Copy Markdown

Important

  • 🔍 Trigger review

This repository does not receive automatic reviews because it has fewer than 10 stars.

⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro Plus

Run ID: d7e38b2d-519b-4cfd-838b-4f1c65c9bcaa


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.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@JioCoder

JioCoder commented Sep 1, 2026

Copy link
Copy Markdown
Contributor

수고했어요!

@JioCoder
JioCoder self-requested a review September 1, 2026 02:09
@JioCoder
JioCoder merged commit 9879d8d into main Sep 1, 2026
3 checks passed
@JioCoder
JioCoder deleted the fix/kakao-login branch September 1, 2026 02:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants