Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions app.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 },
},
],
]
Expand Down
2 changes: 2 additions & 0 deletions ios/semosan/AppDelegate.swift
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import Expo
import FirebaseCore
import React
import ReactAppDependencyProvider
import RNCKakaoUser

@UIApplicationMain
public class AppDelegate: ExpoAppDelegate {
Expand Down Expand Up @@ -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)
}

Expand Down
14 changes: 14 additions & 0 deletions ios/semosan/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -39,11 +39,25 @@
<string>exp+semosan</string>
</array>
</dict>
<dict>
<key>CFBundleURLName</key>
<string>Kakao</string>
<key>CFBundleURLSchemes</key>
<array>
<string>kakaoa3e7a28786d646fd2c68b8faf42529fa</string>
</array>
</dict>
</array>
<key>CFBundleVersion</key>
<string>1</string>
<key>ITSAppUsesNonExemptEncryption</key>
<false/>
<key>LSApplicationQueriesSchemes</key>
<array>
<string>kakaokompassauth</string>
<string>kakaolink</string>
<string>kakaoplus</string>
</array>
<key>LSMinimumSystemVersion</key>
<string>12.0</string>
<key>LSRequiresIPhoneOS</key>
Expand Down
Loading