LINE 로그인 지원 추가
LINE 로그인 요청과 토큰 처리 흐름을 추가함
This commit is contained in:
@@ -14,6 +14,7 @@ import FBSDKCoreKit
|
||||
import FirebaseCore
|
||||
import FirebaseAnalytics
|
||||
import FirebaseMessaging
|
||||
import LineSDK
|
||||
|
||||
class AppDelegate: UIResponder, UIApplicationDelegate {
|
||||
|
||||
@@ -24,6 +25,7 @@ class AppDelegate: UIResponder, UIApplicationDelegate {
|
||||
|
||||
func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey : Any]? = nil) -> Bool {
|
||||
FirebaseApp.configure()
|
||||
LoginManager.shared.setup(channelID: LINE_CHANNEL_ID, universalLinkURL: nil)
|
||||
Notifly.initialize(projectId: NOTIFLY_PROJECT_ID, username: NOTIFLY_USERNAME, password: NOTIFLY_PASSWORD)
|
||||
Messaging.messaging().delegate = self
|
||||
setupAppsFlyer()
|
||||
@@ -75,6 +77,7 @@ class AppDelegate: UIResponder, UIApplicationDelegate {
|
||||
}
|
||||
|
||||
func application(_ application: UIApplication, continue userActivity: NSUserActivity, restorationHandler: @escaping ([any UIUserActivityRestoring]?) -> Void) -> Bool {
|
||||
_ = LoginManager.shared.application(application, open: userActivity.webpageURL)
|
||||
AppsFlyerLib.shared().continue(userActivity, restorationHandler: nil)
|
||||
return true
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user