Skip to content

Commit f434473

Browse files
authored
Use a consistent approach to extension availability (#269)
1 parent da72bf9 commit f434473

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

GoogleSignIn/Sources/Public/GoogleSignIn/GIDSignIn.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,8 @@ typedef NS_ERROR_ENUM(kGIDSignInErrorDomain, GIDSignInErrorCode) {
160160
hint:(nullable NSString *)hint
161161
additionalScopes:(nullable NSArray<NSString *> *)additionalScopes
162162
completion:(nullable void (^)(GIDUserAuth *_Nullable userAuth,
163-
NSError *_Nullable error))completion;
163+
NSError *_Nullable error))completion
164+
NS_EXTENSION_UNAVAILABLE("The sign-in flow is not supported in App Extensions.");
164165

165166
#elif TARGET_OS_OSX
166167
/// Starts an interactive sign-in flow on macOS.

0 commit comments

Comments
 (0)