Skip to content

Commit

Permalink
Add FirebaseAppCheckInterop as dep of FirebaseAuth
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewheard committed Sep 28, 2023
1 parent c5555c8 commit 01d3111
Show file tree
Hide file tree
Showing 13 changed files with 20 additions and 13 deletions.
2 changes: 1 addition & 1 deletion FirebaseAppCheckInterop.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -26,5 +26,5 @@ Pod::Spec.new do |s|
s.watchos.deployment_target = '6.0'

s.source_files = 'FirebaseAppCheck/Interop/**/*.[hm]'
s.public_header_files = 'FirebaseAppCheck/Interop/FirebaseAppCheckInterop/*.h'
s.public_header_files = 'FirebaseAppCheck/Interop/Public/*.h'
end
4 changes: 2 additions & 2 deletions FirebaseAuth/Sources/Auth/FIRAuth.m
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,13 @@
#import <UIKit/UIKit.h>
#endif

@import FirebaseAppCheckInterop;

#import <GoogleUtilities/GULAppDelegateSwizzler.h>
#import <GoogleUtilities/GULAppEnvironmentUtil.h>
#import <GoogleUtilities/GULSceneDelegateSwizzler.h>
#import "FirebaseAuth/Sources/Public/FirebaseAuth/FirebaseAuth.h"
#import "FirebaseCore/Extension/FirebaseCoreInternal.h"

#import "FirebaseAppCheck/Interop/FIRAppCheckInterop.h"
#import "FirebaseAuth/Sources/Auth/FIRAuthDataResult_Internal.h"
#import "FirebaseAuth/Sources/Auth/FIRAuthDispatcher.h"
#import "FirebaseAuth/Sources/Auth/FIRAuthGlobalWorkQueue.h"
Expand Down
4 changes: 3 additions & 1 deletion FirebaseAuth/Sources/AuthProvider/OAuth/FIROAuthProvider.m
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,14 @@
*/

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

@import FirebaseAppCheckInterop;

#include <CommonCrypto/CommonCrypto.h>
#import "FirebaseAuth/Sources/Public/FirebaseAuth/FIRFacebookAuthProvider.h"
#import "FirebaseAuth/Sources/Public/FirebaseAuth/FIROAuthCredential.h"
#import "FirebaseCore/Extension/FirebaseCoreInternal.h"

#import "FirebaseAppCheck/Interop/FIRAppCheckTokenResultInterop.h"
#import "FirebaseAuth/Sources/Auth/FIRAuthGlobalWorkQueue.h"
#import "FirebaseAuth/Sources/Auth/FIRAuth_Internal.h"
#import "FirebaseAuth/Sources/AuthProvider/OAuth/FIROAuthCredential_Internal.h"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,13 @@
#import <TargetConditionals.h>
#if TARGET_OS_IOS && (!defined(TARGET_OS_VISION) || !TARGET_OS_VISION)

@import FirebaseAppCheckInterop;

#import "FirebaseAuth/Sources/Public/FirebaseAuth/FIRAuthSettings.h"
#import "FirebaseAuth/Sources/Public/FirebaseAuth/FIRMultiFactorResolver.h"
#import "FirebaseAuth/Sources/Public/FirebaseAuth/FIRPhoneAuthProvider.h"
#import "FirebaseCore/Extension/FirebaseCoreInternal.h"

#import "FirebaseAppCheck/Interop/FIRAppCheckTokenResultInterop.h"
#import "FirebaseAuth/Sources/Auth/FIRAuthGlobalWorkQueue.h"
#import "FirebaseAuth/Sources/Auth/FIRAuth_Internal.h"
#import "FirebaseAuth/Sources/Backend/FIRAuthBackend+MultiFactor.h"
Expand Down
4 changes: 2 additions & 2 deletions FirebaseAuth/Sources/Backend/FIRAuthBackend.m
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,10 @@
#import <GTMSessionFetcher/GTMSessionFetcherService.h>
#endif

@import FirebaseAppCheckInterop;

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

#import "FirebaseAppCheck/Interop/FIRAppCheckInterop.h"
#import "FirebaseAppCheck/Interop/FIRAppCheckTokenResultInterop.h"
#import "FirebaseAuth/Sources/Auth/FIRAuthGlobalWorkQueue.h"
#import "FirebaseAuth/Sources/Auth/FIRAuth_Internal.h"
#import "FirebaseAuth/Sources/AuthProvider/OAuth/FIROAuthCredential_Internal.h"
Expand Down
3 changes: 2 additions & 1 deletion FirebaseAuth/Sources/Backend/FIRAuthRequestConfiguration.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@

#import <Foundation/Foundation.h>

#import "FirebaseAppCheck/Interop/FIRAppCheckInterop.h"
@import FirebaseAppCheckInterop;

#import "FirebaseAuth/Sources/Backend/FIRAuthRPCRequest.h"
#import "FirebaseAuth/Sources/Public/FirebaseAuth/FIRAuth.h"

Expand Down
4 changes: 2 additions & 2 deletions FirebaseAuth/Tests/Unit/FIRFakeAppCheck.h
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@
* limitations under the License.
*/
#import <Foundation/Foundation.h>
#import "FirebaseAppCheck/Interop/FIRAppCheckInterop.h"
#import "FirebaseAppCheck/Interop/FIRAppCheckTokenResultInterop.h"

@import FirebaseAppCheckInterop;

NS_ASSUME_NONNULL_BEGIN

Expand Down
4 changes: 3 additions & 1 deletion FirebaseAuth/Tests/Unit/FIRFakeAppCheck.m
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,10 @@
* limitations under the License.
*/
#import "FirebaseAuth/Tests/Unit/FIRFakeAppCheck.h"

#import <Foundation/Foundation.h>
#import "FirebaseAppCheck/Interop/FIRAppCheckTokenResultInterop.h"

@import FirebaseAppCheckInterop;

#pragma mark - FIRFakeAppCheckResult

Expand Down
5 changes: 3 additions & 2 deletions Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -422,6 +422,7 @@ let package = Package(
.target(
name: "FirebaseAuth",
dependencies: [
"FirebaseAppCheckInterop",
"FirebaseCore",
.product(name: "GULAppDelegateSwizzler", package: "GoogleUtilities"),
.product(name: "GULEnvironment", package: "GoogleUtilities"),
Expand Down Expand Up @@ -1241,7 +1242,7 @@ let package = Package(
exclude: [
"CMakeLists.txt",
],
publicHeadersPath: ".",
publicHeadersPath: "Public",
cSettings: [
.headerSearchPath("../../"),
]
Expand Down Expand Up @@ -1312,7 +1313,7 @@ func googleAppMeasurementDependency() -> Package.Dependency {
return .package(url: appMeasurementURL, branch: "main")
}

return .package(url: appMeasurementURL, exact: "10.16.0")
return .package(url: appMeasurementURL, branch: "main")
}

func abseilDependency() -> Package.Dependency {
Expand Down

0 comments on commit 01d3111

Please sign in to comment.