From f7f4712f42b5f938d4cf2cc15d3a9d1c05323b02 Mon Sep 17 00:00:00 2001 From: peisonger Date: Tue, 1 Sep 2026 04:46:58 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20=EC=B9=B4=EC=B9=B4=EC=98=A4=ED=86=A1=20?= =?UTF-8?q?=EC=84=A4=EC=B9=98=20=EA=B8=B0=EA=B8=B0=EC=97=90=EC=84=9C?= =?UTF-8?q?=EB=8F=84=20=EC=9B=B9=EB=B7=B0=20=EB=A1=9C=EA=B7=B8=EC=9D=B8?= =?UTF-8?q?=EC=9C=BC=EB=A1=9C=20=ED=8F=B4=EB=B0=B1=EB=90=98=EB=8D=98=20?= =?UTF-8?q?=EB=AC=B8=EC=A0=9C=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 카카오 config 플러그인에 ios/android 옵션이 빠져 있어 URL scheme, LSApplicationQueriesSchemes, AppDelegate openURL 처리가 생성되지 않았고, 이 때문에 카카오톡 설치 여부와 무관하게 항상 웹뷰 로그인으로 빠졌음. --- app.config.js | 2 ++ ios/semosan/AppDelegate.swift | 2 ++ ios/semosan/Info.plist | 14 ++++++++++++++ 3 files changed, 18 insertions(+) diff --git a/app.config.js b/app.config.js index 90605332..4faaae45 100644 --- a/app.config.js +++ b/app.config.js @@ -144,6 +144,8 @@ const config = { "@react-native-kakao/core", { nativeAppKey: process.env.EXPO_PUBLIC_KAKAO_NATIVE_APP_KEY, + ios: { handleKakaoOpenUrl: true }, + android: { authCodeHandlerActivity: true }, }, ], ] diff --git a/ios/semosan/AppDelegate.swift b/ios/semosan/AppDelegate.swift index 135cfa96..723a665f 100644 --- a/ios/semosan/AppDelegate.swift +++ b/ios/semosan/AppDelegate.swift @@ -2,6 +2,7 @@ import Expo import FirebaseCore import React import ReactAppDependencyProvider +import RNCKakaoUser @UIApplicationMain public class AppDelegate: ExpoAppDelegate { @@ -42,6 +43,7 @@ FirebaseApp.configure() open url: URL, options: [UIApplication.OpenURLOptionsKey: Any] = [:] ) -> Bool { + if RNCKakaoUserUtil.isKakaoTalkLoginUrl(url) { return RNCKakaoUserUtil.handleOpen(url) } return super.application(app, open: url, options: options) || RCTLinkingManager.application(app, open: url, options: options) } diff --git a/ios/semosan/Info.plist b/ios/semosan/Info.plist index a0bca2ee..0651e49f 100644 --- a/ios/semosan/Info.plist +++ b/ios/semosan/Info.plist @@ -39,11 +39,25 @@ exp+semosan + + CFBundleURLName + Kakao + CFBundleURLSchemes + + kakaoa3e7a28786d646fd2c68b8faf42529fa + + CFBundleVersion 1 ITSAppUsesNonExemptEncryption + LSApplicationQueriesSchemes + + kakaokompassauth + kakaolink + kakaoplus + LSMinimumSystemVersion 12.0 LSRequiresIPhoneOS