File tree Expand file tree Collapse file tree 1 file changed +11
-0
lines changed
samples/swift/FirebaseUI-demo-swift Expand file tree Collapse file tree 1 file changed +11
-0
lines changed Original file line number Diff line number Diff line change 1515//
1616
1717import UIKit
18+ import FBSDKCoreKit
1819import Firebase
1920import FirebaseAuthUI
2021import GTMSessionFetcher
@@ -29,11 +30,21 @@ class AppDelegate: UIResponder, UIApplicationDelegate {
2930 // accompanying valid GoogleService-Info.plist file.
3031 FirebaseApp . configure ( )
3132 GTMSessionFetcher . setLoggingEnabled ( true )
33+ ApplicationDelegate . shared. application (
34+ application,
35+ didFinishLaunchingWithOptions: launchOptions
36+ )
3237 return true
3338 }
3439
3540 @available ( iOS 9 . 0 , * )
3641 func application( _ app: UIApplication , open url: URL , options: [ UIApplication . OpenURLOptionsKey : Any ] ) -> Bool {
42+ ApplicationDelegate . shared. application (
43+ app,
44+ open: url,
45+ sourceApplication: options [ UIApplication . OpenURLOptionsKey. sourceApplication] as? String ,
46+ annotation: options [ UIApplication . OpenURLOptionsKey. annotation]
47+ )
3748 let sourceApplication = options [ UIApplication . OpenURLOptionsKey. sourceApplication] as! String ?
3849 return self . handleOpenUrl ( url, sourceApplication: sourceApplication)
3950 }
You can’t perform that action at this time.
0 commit comments