Skip to content

Commit 79866ca

Browse files
authored
Fix typos (#13312)
1 parent e42596a commit 79866ca

38 files changed

+53
-53
lines changed

Crashlytics/Crashlytics/FIRCLSUserDefaults/FIRCLSUserDefaults_private.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,5 +19,5 @@
1919
- (BOOL)synchronizeWroteToDisk;
2020
- (NSDictionary *)loadDefaults;
2121
- (NSURL *)generateDirectoryURLForBaseURL:(NSURL *)directoryBaseURL
22-
hostAppBundleIdentifier:(NSString *)hostAppBundleIdentifer;
22+
hostAppBundleIdentifier:(NSString *)hostAppBundleIdentifier;
2323
@end

FirebaseAnalytics/Tests/ObjCAPI/ObjCAPITests.m

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
// limitations under the License.
1515
//
1616

17-
// MARK: This file is used to test the coverage of using Analytics APIs from Objective C.
17+
// MARK: This file is used to test the coverage of using Analytics APIs from Objective-C.
1818

1919
@import Foundation;
2020
@import XCTest;

FirebaseAuth/CHANGELOG.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -385,7 +385,7 @@
385385
# 3.0.3
386386
- [added] Adds documentation for all possible errors returned by each method.
387387
- [fixed] Improves error handling and messages for a variety of error conditions.
388-
- [fixed] Whether or not an user is considered anonymous is now consistent with other
388+
- [fixed] Whether or not a user is considered anonymous is now consistent with other
389389
platforms.
390390
- [changed] A saved signed in user is now siloed between different Firebase projects
391391
within the same app.

FirebaseAuth/Sources/Public/FirebaseAuth/FIRAuthErrors.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ extern NSString *const FIRAuthErrorUserInfoNameKey NS_SWIFT_NAME(AuthErrorUserIn
3333
- `AuthErrorCodeAccountExistsWithDifferentCredential`
3434
- `AuthErrorCodeCredentialAlreadyInUse`
3535
- `AuthErrorCodeEmailAlreadyInUse`
36-
may contain an `NSError.userInfo` dictinary object which contains this key. The value
36+
may contain an `NSError.userInfo` dictionary object which contains this key. The value
3737
associated with this key is an NSString of the email address of the account that already
3838
exists.
3939
*/

FirebaseAuth/Sources/Swift/ActionCode/ActionCodeInfo.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ import Foundation
3838
}
3939

4040
/// Map a request type string to the corresponding operation type.
41-
/// - Parameter requestType: Request type returned in in the server response.
41+
/// - Parameter requestType: Request type returned in the server response.
4242
/// - Returns: The corresponding ActionCodeOperation for the supplied request type.
4343
class func actionCodeOperation(forRequestType requestType: String?) -> ActionCodeOperation {
4444
switch requestType {

FirebaseAuth/Sources/Swift/Auth/Auth.swift

+4-4
Original file line numberDiff line numberDiff line change
@@ -201,7 +201,7 @@ extension Auth: AuthInterop {
201201
/// Contains shareAuthStateAcrossDevices setting related to the auth object.
202202
///
203203
/// If userAccessGroup is not set, setting shareAuthStateAcrossDevices will
204-
/// have no effect. You should set shareAuthStateAcrossDevices to it's desired
204+
/// have no effect. You should set shareAuthStateAcrossDevices to its desired
205205
/// state and then set the userAccessGroup after.
206206
@objc open var shareAuthStateAcrossDevices: Bool = false
207207

@@ -1329,7 +1329,7 @@ extension Auth: AuthInterop {
13291329
/// * A user with a different UID from the current user has signed in, or
13301330
/// * The current user has signed out.
13311331
///
1332-
/// The block is invoked immediately after adding it according to it's standard invocation
1332+
/// The block is invoked immediately after adding it according to its standard invocation
13331333
/// semantics, asynchronously on the main thread. Users should pay special attention to
13341334
/// making sure the block does not inadvertently retain objects which should not be retained by
13351335
/// the long-lived block. The block itself will be retained by `Auth` until it is
@@ -1370,7 +1370,7 @@ extension Auth: AuthInterop {
13701370
/// * The ID token of the current user has been refreshed, or
13711371
/// * The current user has signed out.
13721372
///
1373-
/// The block is invoked immediately after adding it according to it's standard invocation
1373+
/// The block is invoked immediately after adding it according to its standard invocation
13741374
/// semantics, asynchronously on the main thread. Users should pay special attention to
13751375
/// making sure the block does not inadvertently retain objects which should not be retained by
13761376
/// the long-lived block. The block itself will be retained by `Auth` until it is
@@ -1838,7 +1838,7 @@ extension Auth: AuthInterop {
18381838

18391839
// MARK: Private methods
18401840

1841-
/// Posts the auth state change notificaton if current user's token has been changed.
1841+
/// Posts the auth state change notification if current user's token has been changed.
18421842
private func possiblyPostAuthStateChangeNotification() {
18431843
let token = currentUser?.rawAccessToken()
18441844
if lastNotifiedUserToken == token ||

FirebaseAuth/Sources/Swift/Backend/RPC/DeleteAccountRequest.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ import Foundation
1919
private let kDeleteAccountEndpoint = "deleteAccount"
2020

2121
/// The key for the "idToken" value in the request. This is actually the STS Access Token,
22-
/// despite its confusing (backwards compatiable) parameter name.
22+
/// despite its confusing (backwards compatible) parameter name.
2323
private let kIDTokenKey = "idToken"
2424

2525
/// The key for the "localID" value in the request.

FirebaseAuth/Sources/Swift/Backend/RPC/GetAccountInfoRequest.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ import Foundation
1818
private let kGetAccountInfoEndpoint = "getAccountInfo"
1919

2020
/// The key for the "idToken" value in the request. This is actually the STS Access Token,
21-
/// despite its confusing (backwards compatiable) parameter name.
21+
/// despite its confusing (backwards compatible) parameter name.
2222
private let kIDTokenKey = "idToken"
2323

2424
/// Represents the parameters for the getAccountInfo endpoint.

FirebaseAuth/Sources/Swift/Backend/RPC/GetOOBConfirmationCodeRequest.swift

+2-2
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ enum GetOOBConfirmationCodeRequestType: Int {
2424
/// Requests an email sign-in link.
2525
case emailLink
2626

27-
/// Requests an verify before update email.
27+
/// Requests a verify before update email.
2828
case verifyBeforeUpdateEmail
2929

3030
var value: String {
@@ -53,7 +53,7 @@ private let kEmailKey = "email"
5353
private let kNewEmailKey = "newEmail"
5454

5555
/// The key for the "idToken" value in the request. This is actually the STS Access Token,
56-
/// despite its confusing (backwards compatiable) parameter name.
56+
/// despite its confusing (backwards compatible) parameter name.
5757
private let kIDTokenKey = "idToken"
5858

5959
/// The key for the "continue URL" value in the request.

FirebaseAuth/Sources/Swift/Backend/RPC/GetRecaptchaConfigRequest.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ private let kEmailKey = "email"
2828
private let kNewEmailKey = "newEmail"
2929

3030
/// The key for the "idToken" value in the request. This is actually the STS Access Token,
31-
/// despite its confusing (backwards compatiable) parameter name.
31+
/// despite its confusing (backwards compatible) parameter name.
3232
private let kIDTokenKey = "idToken"
3333

3434
/// The "getRecaptchaConfig" endpoint.

FirebaseAuth/Sources/Swift/Backend/RPC/SetAccountInfoRequest.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ private let FIRSetAccountInfoUserAttributePassword = "PASSWORD"
2828
private let kSetAccountInfoEndpoint = "setAccountInfo"
2929

3030
/// The key for the "idToken" value in the request. This is actually the STS Access Token,
31-
/// despite its confusing (backwards compatiable) parameter name.
31+
/// despite its confusing (backwards compatible) parameter name.
3232
private let kIDTokenKey = "idToken"
3333

3434
/// The key for the "displayName" value in the request.

FirebaseAuth/Sources/Swift/Backend/RPC/VerifyAssertionRequest.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ private let kPendingTokenKey = "pendingToken"
4848
private let kAutoCreateKey = "autoCreate"
4949

5050
/// The key for the "idToken" value in the request. This is actually the STS Access Token,
51-
/// despite its confusing (backwards compatiable) parameter name.
51+
/// despite its confusing (backwards compatible) parameter name.
5252
private let kIDTokenKey = "idToken"
5353

5454
/// The key for the "returnSecureToken" value in the request.

FirebaseAuth/Sources/Swift/Backend/RPC/VerifyAssertionResponse.swift

+2-2
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ class VerifyAssertionResponse: AuthRPCResponse, AuthMFAResponse {
2323
var federatedID: String?
2424

2525
/// The IdP ID. For white listed IdPs it's a short domain name e.g. google.com, aol.com,
26-
/// live.net and yahoo.com.If the "providerId" param is set to OpenID OP identifer other than
26+
/// live.net and yahoo.com.If the "providerId" param is set to OpenID OP identifier other than
2727
/// the white listed IdPs the OP identifier is returned.If the "identifier" param is federated
2828
/// ID in the createAuthUri request.The domain part of the federated ID is returned.
2929
var providerID: String?
@@ -123,7 +123,7 @@ class VerifyAssertionResponse: AuthRPCResponse, AuthMFAResponse {
123123
/// The access token for the OpenID OAuth extension.
124124
var oauthAccessToken: String?
125125

126-
/// The secret for the OpenID OAuth extention.
126+
/// The secret for the OpenID OAuth extension.
127127
var oauthSecretToken: String?
128128

129129
/// The pending ID Token string.

FirebaseAuth/Sources/Swift/Backend/VerifyClientRequest.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ class VerifyClientRequest: IdentityToolkitRequest, AuthRPCRequest {
2121
/// The endpoint for the verifyClient request.
2222
private static let verifyClientEndpoint = "verifyClient"
2323

24-
/// The key for the appToken request paramenter.
24+
/// The key for the appToken request parameter.
2525
private static let appTokenKey = "appToken"
2626

2727
/// The key for the isSandbox request parameter.

FirebaseAuth/Sources/Swift/SystemService/SecureTokenService.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ class SecureTokenService: NSObject, NSSecureCoding {
5757
/// Fetch a fresh ephemeral access token for the ID associated with this instance. The token
5858
/// received in the callback should be considered short lived and not cached.
5959
///
60-
/// Invoked asyncronously on the auth global work queue in the future.
60+
/// Invoked asynchronously on the auth global work queue in the future.
6161
/// - Parameter forceRefresh: Forces the token to be refreshed.
6262
/// - Parameter callback: Callback block that will be called to return either the token or an
6363
/// error.

FirebaseAuth/Sources/Swift/User/AdditionalUserInfo.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ extension AdditionalUserInfo: NSSecureCoding {}
2828
/// Indicates whether or not the current user was signed in for the first time.
2929
@objc public let isNewUser: Bool
3030

31-
// Maintain newUser for Objective C API.
31+
// Maintain newUser for Objective-C API.
3232

3333
/// Indicates whether or not the current user was signed in for the first time.
3434
@objc open func newUser() -> Bool {

FirebaseAuth/Sources/Swift/User/User.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -544,7 +544,7 @@ extension User: NSSecureCoding {}
544544
}
545545
}
546546

547-
/// API included for compatibilty with a mis-named Firebase 10 API.
547+
/// API included for compatibility with a mis-named Firebase 10 API.
548548
/// Use `getIDToken(forcingRefresh forceRefresh: Bool = false)` instead.
549549
open func idTokenForcingRefresh(_ forceRefresh: Bool) async throws -> String {
550550
return try await getIDToken(forcingRefresh: forceRefresh)

FirebaseAuth/Sources/Swift/Utilities/AuthErrors.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -865,7 +865,7 @@ private let kErrorMissingAppToken =
865865

866866
private let kErrorNotificationNotForwarded =
867867
"If app delegate swizzling is disabled, remote notifications received by UIApplicationDelegate need to" +
868-
"be forwarded to FirebaseAuth's canHandleNotificaton method."
868+
"be forwarded to FirebaseAuth's canHandleNotification method."
869869

870870
private let kErrorAppNotVerified =
871871
"Firebase could not retrieve the silent push notification and therefore could not verify your app. Ensure that you configured your app correctly to receive push notifications."

FirebaseAuth/Tests/SampleSwift/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ We have already included the **`FBSDKLoginKit`** cocoapod in the `Podfile`. This
137137

138138
- Go to the [Facebook Developers Site](https://developers.facebook.com) and follow all
139139
instructions to set up a new iOS app. When asked for a bundle ID, use
140-
`com.google.firebase.quickstart.AuthenticationExample`. This is the default bundle identifier for this quickstart. If you change it, be sure that the bundle identifer entered on the Facebook developer console matches that of the bundle identifier for the quickstart.
140+
`com.google.firebase.quickstart.AuthenticationExample`. This is the default bundle identifier for this quickstart. If you change it, be sure that the bundle identifier entered on the Facebook developer console matches that of the bundle identifier for the quickstart.
141141
- Follow Facebook's [iOS getting started guide](https://developers.facebook.com/docs/ios/getting-started/). You can skip steps 1 and 3 since
142142
we've already set up the dependencies and initialization code in this sample.
143143
- Go to the [Firebase Console](https://console.firebase.google.com) and navigate to your project:

FirebaseAuth/Tests/Unit/AuthBackendRPCImplentationTests.swift

+2-2
Original file line numberDiff line numberDiff line change
@@ -460,7 +460,7 @@ class AuthBackendRPCImplementationTests: RPCBaseTests {
460460

461461
/** @fn testClientErrorResponse
462462
@brief This test checks the behaviour of @c postWithRequest:response:callback: when the
463-
response contains a client error specified by an error messsage sent from the backend.
463+
response contains a client error specified by an error message sent from the backend.
464464
*/
465465
func testClientErrorResponse() async throws {
466466
let responseError = NSError(domain: kFakeErrorDomain, code: kFakeErrorCode)
@@ -547,7 +547,7 @@ class AuthBackendRPCImplementationTests: RPCBaseTests {
547547

548548
func log() {
549549
// This API should not be used by the below tests because the Auth
550-
// SDK does not log heartbeats in it's networking context.
550+
// SDK does not log heartbeats in its networking context.
551551
fatalError("FakeHeartbeatLogger log should not be used in tests.")
552552
}
553553

FirebaseAuth/Tests/Unit/AuthProviderIDTests.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ import XCTest
1818

1919
@available(iOS 13, tvOS 13, macOS 10.15, macCatalyst 13, watchOS 7, *)
2020
final class AuthProviderIDTests: XCTestCase {
21-
// Verify that AuthProviderID enum values match the class values published for Objective C
21+
// Verify that AuthProviderID enum values match the class values published for Objective-C
2222
// compatibility.
2323
func testAuthProviderIDEnumRawValue() {
2424
XCTAssertEqual(AuthProviderID.apple.rawValue, "apple.com")

FirebaseAuth/Tests/Unit/AuthTests.swift

+3-3
Original file line numberDiff line numberDiff line change
@@ -1023,7 +1023,7 @@ class AuthTests: RPCBaseTests {
10231023

10241024
/** @fn testSignInWithCredentialSuccess
10251025
@brief Tests the flow of a successful @c signInWithCredential:completion: call
1026-
with an Google Sign-In credential.
1026+
with a Google Sign-In credential.
10271027
Note: also a superset of the former testSignInWithGoogleCredentialSuccess
10281028
*/
10291029
func testSignInWithCredentialSuccess() throws {
@@ -1497,8 +1497,8 @@ class AuthTests: RPCBaseTests {
14971497

14981498
/** @fn testCreateUserEmptyEmailFailure
14991499
@brief Tests the flow of a failed @c createUserWithEmail:password:completion: call due to an
1500-
empty email adress. This error occurs on the client side, so there is no need to fake an RPC
1501-
response.
1500+
empty email address. This error occurs on the client side, so there is no need to fake an
1501+
RPC response.
15021502
*/
15031503
func testCreateUserEmptyEmailFailure() throws {
15041504
let expectation = self.expectation(description: #function)

FirebaseAuth/Tests/Unit/GetAccountInfoTests.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ class GetAccountInfoTests: RPCBaseTests {
2626

2727
/** var kIDTokenKey
2828
brief The key for the "idToken" value in the request. This is actually the STS Access Token,
29-
despite it's confusing (backwards compatiable) parameter name.
29+
despite it's confusing (backwards compatible) parameter name.
3030
*/
3131
let kIDTokenKey = "idToken"
3232

FirebaseAuth/Tests/Unit/ObjCAPITests.m

+1-1
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ - (void)authProperties:(FIRAuth *)auth {
103103
[auth setCustomAuthDomain:s];
104104
#if TARGET_OS_IOS
105105
__unused NSData *d = [auth APNSToken];
106-
// TODO: It seems like a no-op and a bug to have this API in Objective C
106+
// TODO: It seems like a no-op and a bug to have this API in Objective-C
107107
// auth.APNSToken = [[NSData alloc] init];
108108
#endif
109109
}

FirebaseAuth/Tests/Unit/PhoneAuthProviderTests.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -210,7 +210,7 @@
210210
)
211211
}
212212

213-
// TODO: This test is skipped. What was formerly an Objective C exception is now a Swift fatal_error.
213+
// TODO: This test is skipped. What was formerly an Objective-C exception is now a Swift fatal_error.
214214
// The test runs correctly, but it's not clear how to automate fatal_error testing. Switching to
215215
// Swift exceptions would break the API.
216216
/** @fn testVerifyPhoneNumberUIDelegateRaiseException

FirebaseAuth/Tests/Unit/SwiftGlobalTests.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ import XCTest
1717

1818
import FirebaseAuth
1919

20-
/// Tests globals defined in Objective C sources. These globals are for backward compatibility and
20+
/// Tests globals defined in Objective-C sources. These globals are for backward compatibility and
2121
/// should not be used in new code.
2222
class SwiftGlobalTests: XCTestCase {
2323
func GlobalSymbolBuildTest() {

FirebaseAuth/Tests/Unit/VerifyAssertionTests.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ class VerifyAssertionTests: RPCBaseTests {
7979
}
8080

8181
/** @fn testVerifyAssertionRequestOptionalFields
82-
@brief Tests the verify assertion request with all optinal fields set.
82+
@brief Tests the verify assertion request with all optional fields set.
8383
*/
8484
func testVerifyAssertionRequestOptionalFields() async throws {
8585
let request = makeVerifyAssertionRequest()

FirebaseCore/Internal/Sources/HeartbeatLogging/HeartbeatStorage.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ final class HeartbeatStorage: HeartbeatStorageProtocol {
3737

3838
/// Designated initializer.
3939
/// - Parameters:
40-
/// - id: A string identifer.
40+
/// - id: A string identifier.
4141
/// - storage: The underlying storage container where heartbeat data is stored.
4242
init(id: String,
4343
storage: Storage) {

FirebaseDynamicLinks/CHANGELOG.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@ Refer to the [README.md](https://github.com/firebase/firebase-ios-sdk/blob/main/
177177

178178
# 1.3.1
179179
- [added] Adds FIRLogger support (not public-facing)
180-
- [fixed] Fixes IPv6 compatibilty issues
180+
- [fixed] Fixes IPv6 compatibility issues
181181

182182
# 1.3.0
183183
- [changed] Removes the SFSafariViewController per Apple's Review Guidelines

FirebaseDynamicLinks/Sources/Logging/FDLLogging.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,6 @@ FOUNDATION_EXPORT NSString *const FDLMessageCodeIntegerFormat;
4343

4444
/** Logs a message with FIRLogger. */
4545
FOUNDATION_EXPORT void FDLLog(FDLLogLevel logLevel,
46-
FDLLogIdentifier identifer,
46+
FDLLogIdentifier identifier,
4747
NSString *message,
4848
...) NS_FORMAT_FUNCTION(3, 4);

FirebaseDynamicLinks/Sources/Logging/FDLLogging.m

+4-4
Original file line numberDiff line numberDiff line change
@@ -33,18 +33,18 @@
3333
NSString *const FDLMessageCodeIntegerFormat = @"%06d";
3434
#endif // #if __LP64__
3535

36-
NSString *FDLMessageCodeForLogIdentifier(FDLLogIdentifier identifer) {
36+
NSString *FDLMessageCodeForLogIdentifier(FDLLogIdentifier identifier) {
3737
static NSString *const kMessageCodePrefix = @"I-FDL";
38-
NSString *intString = [NSString stringWithFormat:FDLMessageCodeIntegerFormat, identifer];
38+
NSString *intString = [NSString stringWithFormat:FDLMessageCodeIntegerFormat, identifier];
3939
return [kMessageCodePrefix stringByAppendingString:intString];
4040
}
4141
#endif // GIN_SCION_LOGGING
4242

43-
void FDLLog(FDLLogLevel logLevel, FDLLogIdentifier identifer, NSString *message, ...) {
43+
void FDLLog(FDLLogLevel logLevel, FDLLogIdentifier identifier, NSString *message, ...) {
4444
va_list args_ptr;
4545
va_start(args_ptr, message);
4646
#ifdef GIN_SCION_LOGGING
47-
NSString *messageCode = FDLMessageCodeForLogIdentifier(identifer);
47+
NSString *messageCode = FDLMessageCodeForLogIdentifier(identifier);
4848

4949
switch (logLevel) {
5050
case FDLLogLevelError:

FirebaseInAppMessaging/Sources/Data/FIRIAMFetchResponseParser.m

+1-1
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ - (FIRIAMMessageDefinition *)convertToMessageDefinitionWithMessageDict:(NSDictio
149149
NSString *messageID = payloadNode[@"campaignId"];
150150
if (!messageID) {
151151
FIRLogWarning(kFIRLoggerInAppMessaging, @"I-IAM900010",
152-
@"messsage id is missing in message node %@", messageNode);
152+
@"message id is missing in message node %@", messageNode);
153153
return nil;
154154
}
155155

FirebaseInAppMessaging/Swift/Tests/Unit/FirebaseInAppMessaging_APIBuildTests.swift

+3-3
Original file line numberDiff line numberDiff line change
@@ -66,8 +66,8 @@ final class FirebaseInAppMessaging_APIBuildTests: XCTestCase {
6666
let _: UIColor = button.buttonBackgroundColor
6767

6868
_ = FirebaseInAppMessaging.InAppMessagingDisplayMessageType.RawValue()
69-
let messsageType: FirebaseInAppMessaging.InAppMessagingDisplayMessageType! = nil
70-
switch messsageType! {
69+
let messageType: FirebaseInAppMessaging.InAppMessagingDisplayMessageType! = nil
70+
switch messageType! {
7171
case .modal: break
7272
case .banner: break
7373
case .imageOnly: break
@@ -156,7 +156,7 @@ final class FirebaseInAppMessaging_APIBuildTests: XCTestCase {
156156
messageID: nonnullText,
157157
campaignName: nonnullText,
158158
renderAsTestMessage: true,
159-
messageType: messsageType,
159+
messageType: messageType,
160160
triggerType: triggerType
161161
)
162162
let _: FirebaseInAppMessaging.InAppMessagingCampaignInfo = displayMessage.campaignInfo

FirebaseInstallations/Source/Tests/Unit/FIRInstallationsAPIServiceTests.m

+1-1
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ - (FIRDailyHeartbeatCode)heartbeatCodeForToday {
6161

6262
- (void)log {
6363
// This API should not be used by the below tests because the Installations
64-
// SDK does not log heartbeats in it's networking context.
64+
// SDK does not log heartbeats in its networking context.
6565
[self doesNotRecognizeSelector:_cmd];
6666
}
6767

0 commit comments

Comments
 (0)