We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bb7ec69 commit b70eb3bCopy full SHA for b70eb3b
Projects/App/Sources/Application/GPleApp.swift
@@ -1,8 +1,17 @@
1
import SwiftUI
2
-import GoogleSignIn
+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
+}
11
12
@main
13
struct GoogleSignInProjectApp: App {
14
+ @UIApplicationDelegateAdaptor(AppDelegate.self) var delegate
15
@StateObject var viewModel: LoginViewModel = LoginViewModel()
16
@StateObject var userInfoViewModel: UserInfoViewModel = UserInfoViewModel()
17
0 commit comments