File tree Expand file tree Collapse file tree 1 file changed +8
-0
lines changed
FirebaseAuth/Tests/Sample/Sample Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Original file line number Diff line number Diff line change 18
18
19
19
#import < FirebaseCore/FIRApp.h>
20
20
#import < FirebaseCore/FIRConfiguration.h>
21
+ #import < FBSDKCoreKit/FBSDKCoreKit.h>
21
22
22
23
#import " AuthProviders.h"
23
24
#import < FirebaseAuth/FirebaseAuth.h>
@@ -46,6 +47,9 @@ - (BOOL)application:(UIApplication *)application
46
47
// Configure the default Firebase application:
47
48
[FIRApp configure ];
48
49
50
+ [[FBSDKApplicationDelegate sharedInstance ] application: application
51
+ didFinishLaunchingWithOptions: launchOptions];
52
+
49
53
// Load and present the UI:
50
54
UIWindow *window = [[UIWindow alloc ] initWithFrame: [[UIScreen mainScreen ] bounds ]];
51
55
_sampleAppMainViewController =
@@ -63,6 +67,10 @@ - (BOOL)application:(UIApplication *)application
63
67
- (BOOL )application : (nonnull UIApplication *)application
64
68
openURL : (nonnull NSURL *)url
65
69
options : (nonnull NSDictionary <NSString *, id> *)options {
70
+ [[FBSDKApplicationDelegate sharedInstance ] application: application
71
+ openURL: url
72
+ options: options];
73
+
66
74
return [self application: application
67
75
openURL: url
68
76
sourceApplication: options[UIApplicationOpenURLOptionsSourceApplicationKey]
You can’t perform that action at this time.
0 commit comments