Skip to content

Commit 45c6e1c

Browse files
authored
Uses framework imports for GoogleSignIn, FBSDKCoreKit, and FBSDKLoginKit. (#87)
This is to make the code more flexible in other build environment.
1 parent fb0e72b commit 45c6e1c

File tree

2 files changed

+5
-7
lines changed

2 files changed

+5
-7
lines changed

AuthSamples/Sample/FacebookAuthProvider.m

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,12 @@
1616

1717
#import "FacebookAuthProvider.h"
1818

19+
#import <FBSDKCoreKit/FBSDKCoreKit.h>
20+
#import <FBSDKLoginKit/FBSDKLoginKit.h>
21+
1922
#import "FIRFacebookAuthProvider.h"
2023
#import "ApplicationDelegate.h"
2124
#import "AuthCredentials.h"
22-
#import "FBSDKCoreKit.h"
23-
#import "FBSDKLoginKit.h"
2425

2526
/** @var kFacebookAppId
2627
@brief The App ID for the Facebook SDK.

AuthSamples/Sample/GoogleAuthProvider.m

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,14 +16,13 @@
1616

1717
#import "GoogleAuthProvider.h"
1818

19+
#import <GoogleSignIn/GoogleSignIn.h>
20+
1921
#import "FIRApp.h"
2022
#import "FIROptions.h"
2123
#import "FIRGoogleAuthProvider.h"
2224
#import "ApplicationDelegate.h"
2325

24-
@import GoogleSignIn;
25-
26-
2726
/** @typedef GoogleSignInCallback
2827
@brief The type of block invoked when a @c GIDGoogleUser object is ready or an error has
2928
occurred.
@@ -34,8 +33,6 @@
3433

3534
/** @class GoogleAuthDelegate
3635
@brief The designated delegate class for Google Sign-In.
37-
@param callback A block which is invoked when the sign-in flow finishes. Invoked asynchronously
38-
on an unspecified thread in the future.
3936
*/
4037
@interface GoogleAuthDelegate : NSObject <GIDSignInDelegate, GIDSignInUIDelegate, OpenURLDelegate>
4138

0 commit comments

Comments
 (0)