diff --git a/FirebaseInAppMessaging/Sources/Flows/FIRIAMFetchFlow.m b/FirebaseInAppMessaging/Sources/Flows/FIRIAMFetchFlow.m index 890fece4d57..1ac32ffb197 100644 --- a/FirebaseInAppMessaging/Sources/Flows/FIRIAMFetchFlow.m +++ b/FirebaseInAppMessaging/Sources/Flows/FIRIAMFetchFlow.m @@ -148,7 +148,7 @@ - (void)checkAndFetchForInitialAppLaunch:(BOOL)forInitialAppLaunch { if (sdkMode == FIRIAMSDKModeNewlyInstalled || sdkMode == FIRIAMSDKModeTesting) { FIRLogDebug(kFIRLoggerInAppMessaging, @"I-IAM700007", @"OK to fetch due to current SDK mode being %@", - FIRIAMDescriptonStringForSDKMode(sdkMode)); + FIRIAMDescriptionStringForSDKMode(sdkMode)); fetchIsAllowedNow = YES; } else { FIRLogDebug(kFIRLoggerInAppMessaging, @"I-IAM700008", diff --git a/FirebaseInAppMessaging/Sources/Private/Runtime/FIRIAMSDKModeManager.h b/FirebaseInAppMessaging/Sources/Private/Runtime/FIRIAMSDKModeManager.h index f67db3b91e1..e78c606cda8 100644 --- a/FirebaseInAppMessaging/Sources/Private/Runtime/FIRIAMSDKModeManager.h +++ b/FirebaseInAppMessaging/Sources/Private/Runtime/FIRIAMSDKModeManager.h @@ -41,7 +41,7 @@ typedef NS_ENUM(NSInteger, FIRIAMSDKMode) { }; // turn the sdk mode enum integer value into a descriptive string -NSString *FIRIAMDescriptonStringForSDKMode(FIRIAMSDKMode mode); +NSString *FIRIAMDescriptionStringForSDKMode(FIRIAMSDKMode mode); extern NSString *const kFIRIAMUserDefaultKeyForSDKMode; extern NSString *const kFIRIAMUserDefaultKeyForServerFetchCount; diff --git a/FirebaseInAppMessaging/Sources/Runtime/FIRIAMSDKModeManager.m b/FirebaseInAppMessaging/Sources/Runtime/FIRIAMSDKModeManager.m index 39d51af13ca..b13bde2939d 100644 --- a/FirebaseInAppMessaging/Sources/Runtime/FIRIAMSDKModeManager.m +++ b/FirebaseInAppMessaging/Sources/Runtime/FIRIAMSDKModeManager.m @@ -24,7 +24,7 @@ #import "FirebaseInAppMessaging/Sources/FIRCore+InAppMessaging.h" #import "FirebaseInAppMessaging/Sources/Private/Runtime/FIRIAMSDKModeManager.h" -NSString *FIRIAMDescriptonStringForSDKMode(FIRIAMSDKMode mode) { +NSString *FIRIAMDescriptionStringForSDKMode(FIRIAMSDKMode mode) { switch (mode) { case FIRIAMSDKModeTesting: return @"Testing Instance"; @@ -76,7 +76,7 @@ - (instancetype)initWithUserDefaults:(GULUserDefaults *)userDefaults FIRLogDebug(kFIRLoggerInAppMessaging, @"I-IAM290001", @"SDK is in mode of %@ and has seen %d fetches.", - FIRIAMDescriptonStringForSDKMode(_sdkMode), (int)_fetchCount); + FIRIAMDescriptionStringForSDKMode(_sdkMode), (int)_fetchCount); } return self; }