Skip to content

Commit e9e7fb8

Browse files
authored
Fix a private runtime property name in FirebaseInAppMessaging (#13798)
1 parent fdb7c9c commit e9e7fb8

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

FirebaseInAppMessaging/Sources/Flows/FIRIAMFetchFlow.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ - (void)checkAndFetchForInitialAppLaunch:(BOOL)forInitialAppLaunch {
148148
if (sdkMode == FIRIAMSDKModeNewlyInstalled || sdkMode == FIRIAMSDKModeTesting) {
149149
FIRLogDebug(kFIRLoggerInAppMessaging, @"I-IAM700007",
150150
@"OK to fetch due to current SDK mode being %@",
151-
FIRIAMDescriptonStringForSDKMode(sdkMode));
151+
FIRIAMDescriptionStringForSDKMode(sdkMode));
152152
fetchIsAllowedNow = YES;
153153
} else {
154154
FIRLogDebug(kFIRLoggerInAppMessaging, @"I-IAM700008",

FirebaseInAppMessaging/Sources/Private/Runtime/FIRIAMSDKModeManager.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ typedef NS_ENUM(NSInteger, FIRIAMSDKMode) {
4141
};
4242

4343
// turn the sdk mode enum integer value into a descriptive string
44-
NSString *FIRIAMDescriptonStringForSDKMode(FIRIAMSDKMode mode);
44+
NSString *FIRIAMDescriptionStringForSDKMode(FIRIAMSDKMode mode);
4545

4646
extern NSString *const kFIRIAMUserDefaultKeyForSDKMode;
4747
extern NSString *const kFIRIAMUserDefaultKeyForServerFetchCount;

FirebaseInAppMessaging/Sources/Runtime/FIRIAMSDKModeManager.m

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
#import "FirebaseInAppMessaging/Sources/FIRCore+InAppMessaging.h"
2525
#import "FirebaseInAppMessaging/Sources/Private/Runtime/FIRIAMSDKModeManager.h"
2626

27-
NSString *FIRIAMDescriptonStringForSDKMode(FIRIAMSDKMode mode) {
27+
NSString *FIRIAMDescriptionStringForSDKMode(FIRIAMSDKMode mode) {
2828
switch (mode) {
2929
case FIRIAMSDKModeTesting:
3030
return @"Testing Instance";
@@ -76,7 +76,7 @@ - (instancetype)initWithUserDefaults:(GULUserDefaults *)userDefaults
7676

7777
FIRLogDebug(kFIRLoggerInAppMessaging, @"I-IAM290001",
7878
@"SDK is in mode of %@ and has seen %d fetches.",
79-
FIRIAMDescriptonStringForSDKMode(_sdkMode), (int)_fetchCount);
79+
FIRIAMDescriptionStringForSDKMode(_sdkMode), (int)_fetchCount);
8080
}
8181
return self;
8282
}

0 commit comments

Comments
 (0)