Skip to content

Commit 8170722

Browse files
author
renkelvin
committed
Changes post rebase
1 parent 9af06c3 commit 8170722

File tree

4 files changed

+9
-9
lines changed

4 files changed

+9
-9
lines changed

FirebaseAuth.podspec

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -58,8 +58,6 @@ supports email and password accounts, as well as several 3rd party authenticatio
5858
s.dependency 'GoogleUtilities/Environment', '~> 7.8'
5959
s.dependency 'GTMSessionFetcher/Core', '>= 2.1', '< 4.0'
6060
s.ios.dependency 'RecaptchaInterop', '~> 18.2.0'
61-
# Using environment variable because of the dependency on the unpublished
62-
# HeartbeatLoggingTestUtils.
6361
s.test_spec 'unit' do |unit_tests|
6462
unit_tests.scheme = { :code_coverage => true }
6563
# Unit tests can't run on watchOS.
@@ -100,7 +98,6 @@ supports email and password accounts, as well as several 3rd party authenticatio
10098
# app_host is needed for tests with keychain
10199
unit_tests.requires_app_host = true
102100
unit_tests.dependency 'OCMock'
103-
unit_tests.dependency 'HeartbeatLoggingTestUtils'
104101

105102
# This pre-processor directive is used to selectively disable keychain
106103
# related code that blocks unit testing on macOS.

FirebaseAuth/Sources/Backend/RPC/MultiFactor/Enroll/FIRFinalizeMFAEnrollmentRequest.m

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -49,9 +49,8 @@ - (nullable instancetype)initWithIDToken:(NSString *)IDToken
4949
(FIRAuthProtoFinalizeMFATOTPEnrollmentRequestInfo *)TOTPVerificationInfo
5050
requestConfiguration:(FIRAuthRequestConfiguration *)requestConfiguration {
5151
self = [super initWithEndpoint:kFinalizeMFAEnrollmentEndPoint
52-
requestConfiguration:requestConfiguration
53-
useIdentityPlatform:YES
54-
useStaging:NO];
52+
requestConfiguration:requestConfiguration];
53+
self.useIdentityPlatform = YES;
5554
if (self) {
5655
_IDToken = IDToken;
5756
_displayName = displayName;

FirebaseAuth/Sources/Backend/RPC/MultiFactor/Enroll/FIRStartMFAEnrollmentRequest.m

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,9 +45,8 @@ - (nullable instancetype)initWithIDToken:(NSString *)IDToken
4545
(FIRAuthProtoStartMFATOTPEnrollmentRequestInfo *)TOTPEnrollmentInfo
4646
requestConfiguration:(FIRAuthRequestConfiguration *)requestConfiguration {
4747
self = [super initWithEndpoint:kStartMFAEnrollmentEndPoint
48-
requestConfiguration:requestConfiguration
49-
useIdentityPlatform:YES
50-
useStaging:NO];
48+
requestConfiguration:requestConfiguration];
49+
self.useIdentityPlatform = YES;
5150
if (self) {
5251
_IDToken = IDToken;
5352
_TOTPEnrollmentInfo = TOTPEnrollmentInfo;

Package.swift

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -176,6 +176,10 @@ let package = Package(
176176
url: "https://github.com/SlaunchaMan/GCDWebServer.git",
177177
revision: "935e2736044e71e5341663c3cc9a335ba6867a2b"
178178
),
179+
.package(
180+
url: "https://github.com/GoogleCloudPlatform/recaptcha-enterprise-mobile-sdk.git",
181+
"18.2.0" ..< "18.2.1"
182+
),
179183
],
180184
targets: [
181185
.target(
@@ -420,6 +424,7 @@ let package = Package(
420424
.product(name: "GULAppDelegateSwizzler", package: "GoogleUtilities"),
421425
.product(name: "GULEnvironment", package: "GoogleUtilities"),
422426
.product(name: "GTMSessionFetcherCore", package: "gtm-session-fetcher"),
427+
.product(name: "RecaptchaInterop", package: "recaptcha-enterprise-mobile-sdk"),
423428
],
424429
path: "FirebaseAuth/Sources",
425430
publicHeadersPath: "Public",

0 commit comments

Comments
 (0)