Skip to content

Commit b70eb3b

Browse files
committed
수정
1 parent bb7ec69 commit b70eb3b

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

Projects/App/Sources/Application/GPleApp.swift

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,17 @@
11
import SwiftUI
2-
import GoogleSignIn
2+
import FirebaseCore
3+
import Firebase
4+
5+
class AppDelegate: UIResponder, UIApplicationDelegate {
6+
func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> Bool {
7+
FirebaseApp.configure()
8+
return true
9+
}
10+
}
311

412
@main
513
struct GoogleSignInProjectApp: App {
14+
@UIApplicationDelegateAdaptor(AppDelegate.self) var delegate
615
@StateObject var viewModel: LoginViewModel = LoginViewModel()
716
@StateObject var userInfoViewModel: UserInfoViewModel = UserInfoViewModel()
817

0 commit comments

Comments
 (0)