|
|
@@ -16,7 +16,14 @@
|
|
|
|
|
|
#import <Foundation/Foundation.h>
|
|
|
|
|
|
-@protocol GTMFetcherAuthorizationProtocol;
|
|
|
+// We have to import GTMAppAuth because forward declaring the protocol does
|
|
|
+// not generate the `fetcherAuthorizer` method below for Swift.
|
|
|
+#ifdef SWIFT_PACKAGE
|
|
|
+@import GTMAppAuth;
|
|
|
+#else
|
|
|
+#import <GTMAppAuth/GTMAppAuthFetcherAuthorization.h>
|
|
|
+#endif
|
|
|
+
|
|
|
@class GIDAuthentication;
|
|
|
|
|
|
NS_ASSUME_NONNULL_BEGIN
|
|
|
@@ -63,4 +70,5 @@ typedef void (^GIDAuthenticationAction)(GIDAuthentication *_Nullable authenticat
|
|
|
|
|
|
@end
|
|
|
|
|
|
+
|
|
|
NS_ASSUME_NONNULL_END
|