Skip to content

Commit

Permalink
Replace @import FirebaseAppCheckInterop with #import <>
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewheard committed Oct 10, 2023
1 parent ae84218 commit 056e6c2
Show file tree
Hide file tree
Showing 17 changed files with 17 additions and 17 deletions.
2 changes: 1 addition & 1 deletion FirebaseAppCheck/Sources/Core/FIRAppCheck.m
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

#import "FirebaseAppCheck/Sources/Public/FirebaseAppCheck/FIRAppCheck.h"

@import FirebaseAppCheckInterop;
#import <FirebaseAppCheckInterop/FirebaseAppCheckInterop.h>

#if __has_include(<FBLPromises/FBLPromises.h>)
#import <FBLPromises/FBLPromises.h>
Expand Down
2 changes: 1 addition & 1 deletion FirebaseAppCheck/Sources/Core/FIRAppCheckComponent.m
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

#import <Foundation/Foundation.h>

@import FirebaseAppCheckInterop;
#import <FirebaseAppCheckInterop/FirebaseAppCheckInterop.h>

#import "FirebaseAppCheck/Sources/Core/FIRAppCheck+Internal.h"
#import "FirebaseAppCheck/Sources/Public/FirebaseAppCheck/FIRAppCheck.h"
Expand Down
2 changes: 1 addition & 1 deletion FirebaseAppCheck/Sources/Core/FIRAppCheckTokenResult.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

#import <Foundation/Foundation.h>

@import FirebaseAppCheckInterop;
#import <FirebaseAppCheckInterop/FirebaseAppCheckInterop.h>

NS_ASSUME_NONNULL_BEGIN

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

#import <Foundation/Foundation.h>

@import FirebaseAppCheckInterop;
#import <FirebaseAppCheckInterop/FirebaseAppCheckInterop.h>

This comment has been minimized.

Copy link
@paulb777

paulb777 Oct 10, 2023

Member

This is the only one technically necessary since it's in a public header - since none of the others can be imported by Objective C++


@class FIRApp;
@class FIRAppCheckToken;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@

#import <OCMock/OCMock.h>

@import FirebaseAppCheckInterop;
#import <FirebaseAppCheckInterop/FirebaseAppCheckInterop.h>

#import "FirebaseAppCheck/Sources/Core/TokenRefresh/FIRAppCheckTokenRefresher.h"
#import "FirebaseAppCheck/Sources/Public/FirebaseAppCheck/FIRAppCheck.h"
Expand Down
2 changes: 1 addition & 1 deletion FirebaseAppCheck/Tests/Unit/Core/FIRAppCheckTests.m
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@

#import "FBLPromise+Testing.h"

@import FirebaseAppCheckInterop;
#import <FirebaseAppCheckInterop/FirebaseAppCheckInterop.h>

#import "FirebaseAppCheck/Sources/Public/FirebaseAppCheck/FIRAppCheck.h"
#import "FirebaseAppCheck/Sources/Public/FirebaseAppCheck/FIRAppCheckErrors.h"
Expand Down
2 changes: 1 addition & 1 deletion FirebaseAuth/Sources/Auth/FIRAuth.m
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
#import <UIKit/UIKit.h>
#endif

@import FirebaseAppCheckInterop;
#import <FirebaseAppCheckInterop/FirebaseAppCheckInterop.h>

#import <GoogleUtilities/GULAppDelegateSwizzler.h>
#import <GoogleUtilities/GULAppEnvironmentUtil.h>
Expand Down
2 changes: 1 addition & 1 deletion FirebaseAuth/Sources/AuthProvider/OAuth/FIROAuthProvider.m
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

#import "FirebaseAuth/Sources/Public/FirebaseAuth/FIROAuthProvider.h"

@import FirebaseAppCheckInterop;
#import <FirebaseAppCheckInterop/FirebaseAppCheckInterop.h>

#include <CommonCrypto/CommonCrypto.h>
#import "FirebaseAuth/Sources/Public/FirebaseAuth/FIRFacebookAuthProvider.h"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
#import <TargetConditionals.h>
#if TARGET_OS_IOS && (!defined(TARGET_OS_VISION) || !TARGET_OS_VISION)

@import FirebaseAppCheckInterop;
#import <FirebaseAppCheckInterop/FirebaseAppCheckInterop.h>

#import "FirebaseAuth/Sources/Public/FirebaseAuth/FIRAuthSettings.h"
#import "FirebaseAuth/Sources/Public/FirebaseAuth/FIRMultiFactorResolver.h"
Expand Down
2 changes: 1 addition & 1 deletion FirebaseAuth/Sources/Backend/FIRAuthBackend.m
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
#import <GTMSessionFetcher/GTMSessionFetcherService.h>
#endif

@import FirebaseAppCheckInterop;
#import <FirebaseAppCheckInterop/FirebaseAppCheckInterop.h>

#import "FirebaseAuth/Sources/Public/FirebaseAuth/FirebaseAuth.h"

Expand Down
2 changes: 1 addition & 1 deletion FirebaseAuth/Sources/Backend/FIRAuthRequestConfiguration.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

#import <Foundation/Foundation.h>

@import FirebaseAppCheckInterop;
#import <FirebaseAppCheckInterop/FirebaseAppCheckInterop.h>

#import "FirebaseAuth/Sources/Backend/FIRAuthRPCRequest.h"
#import "FirebaseAuth/Sources/Public/FirebaseAuth/FIRAuth.h"
Expand Down
2 changes: 1 addition & 1 deletion FirebaseAuth/Tests/Unit/FIRFakeAppCheck.h
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
*/
#import <Foundation/Foundation.h>

@import FirebaseAppCheckInterop;
#import <FirebaseAppCheckInterop/FirebaseAppCheckInterop.h>

NS_ASSUME_NONNULL_BEGIN

Expand Down
2 changes: 1 addition & 1 deletion FirebaseAuth/Tests/Unit/FIRFakeAppCheck.m
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@

#import <Foundation/Foundation.h>

@import FirebaseAppCheckInterop;
#import <FirebaseAppCheckInterop/FirebaseAppCheckInterop.h>

#pragma mark - FIRFakeAppCheckResult

Expand Down
2 changes: 1 addition & 1 deletion FirebaseDatabase/Sources/Api/FIRDatabaseComponent.m
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
#import "FirebaseAuth/Interop/FIRAuthInterop.h"
#import "FirebaseCore/Extension/FirebaseCoreInternal.h"

@import FirebaseAppCheckInterop;
#import <FirebaseAppCheckInterop/FirebaseAppCheckInterop.h>

NS_ASSUME_NONNULL_BEGIN

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
#import "FirebaseDatabase/Sources/Api/Private/FIRDatabaseQuery_Private.h"
#import "FirebaseDatabase/Sources/Utilities/FUtilities.h"

@import FirebaseAppCheckInterop;
#import <FirebaseAppCheckInterop/FirebaseAppCheckInterop.h>

NS_ASSUME_NONNULL_BEGIN

Expand Down
2 changes: 1 addition & 1 deletion SharedTestUtilities/AppCheckFake/FIRAppCheckFake.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

#import <Foundation/Foundation.h>

@import FirebaseAppCheckInterop;
#import <FirebaseAppCheckInterop/FirebaseAppCheckInterop.h>

NS_ASSUME_NONNULL_BEGIN

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

#import <Foundation/Foundation.h>

@import FirebaseAppCheckInterop;
#import <FirebaseAppCheckInterop/FirebaseAppCheckInterop.h>

NS_ASSUME_NONNULL_BEGIN

Expand Down

0 comments on commit 056e6c2

Please sign in to comment.