From 79a442ac66b4dd2c346581a162155909689eb748 Mon Sep 17 00:00:00 2001 From: Seyed Mojtaba Hosseini Zeidabadi Date: Tue, 1 Oct 2024 12:08:14 +0330 Subject: [PATCH 1/2] fix: a typo in a method name --- FirebaseInAppMessaging/Sources/Flows/FIRIAMFetchFlow.m | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/FirebaseInAppMessaging/Sources/Flows/FIRIAMFetchFlow.m b/FirebaseInAppMessaging/Sources/Flows/FIRIAMFetchFlow.m index 890fece4d57..4e049a5cd56 100644 --- a/FirebaseInAppMessaging/Sources/Flows/FIRIAMFetchFlow.m +++ b/FirebaseInAppMessaging/Sources/Flows/FIRIAMFetchFlow.m @@ -95,7 +95,7 @@ - (void)sendFetchIsDoneNotification { object:self]; } -- (void)handleSuccessullyFetchedMessages:(NSArray *)messagesInResponse +- (void)handleSuccessfullyFetchedMessages:(NSArray *)messagesInResponse withFetchWaitTime:(NSNumber *_Nullable)fetchWaitTime requestImpressions:(NSArray *)requestImpressions { FIRLogDebug(kFIRLoggerInAppMessaging, @"I-IAM700004", @"%lu messages were fetched successfully.", @@ -233,7 +233,7 @@ - (void)checkAndFetchForInitialAppLaunch:(BOOL)forInitialAppLaunch { [self.activityLogger addLogRecord:record]; // Now handle the fetched messages. - [self handleSuccessullyFetchedMessages:messages + [self handleSuccessfullyFetchedMessages:messages withFetchWaitTime:nextFetchWaitTime requestImpressions:impressions]; From 8c13aaba733450dc4e8d968a3829fc653430ffd0 Mon Sep 17 00:00:00 2001 From: Seyed Mojtaba Hosseini Zeidabadi Date: Fri, 4 Oct 2024 09:38:40 +0330 Subject: [PATCH 2/2] style: satisfy the lint --- FirebaseInAppMessaging/Sources/Flows/FIRIAMFetchFlow.m | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/FirebaseInAppMessaging/Sources/Flows/FIRIAMFetchFlow.m b/FirebaseInAppMessaging/Sources/Flows/FIRIAMFetchFlow.m index 4e049a5cd56..0b39d80c24c 100644 --- a/FirebaseInAppMessaging/Sources/Flows/FIRIAMFetchFlow.m +++ b/FirebaseInAppMessaging/Sources/Flows/FIRIAMFetchFlow.m @@ -96,8 +96,8 @@ - (void)sendFetchIsDoneNotification { } - (void)handleSuccessfullyFetchedMessages:(NSArray *)messagesInResponse - withFetchWaitTime:(NSNumber *_Nullable)fetchWaitTime - requestImpressions:(NSArray *)requestImpressions { + withFetchWaitTime:(NSNumber *_Nullable)fetchWaitTime + requestImpressions:(NSArray *)requestImpressions { FIRLogDebug(kFIRLoggerInAppMessaging, @"I-IAM700004", @"%lu messages were fetched successfully.", (unsigned long)messagesInResponse.count); @@ -234,8 +234,8 @@ - (void)checkAndFetchForInitialAppLaunch:(BOOL)forInitialAppLaunch { // Now handle the fetched messages. [self handleSuccessfullyFetchedMessages:messages - withFetchWaitTime:nextFetchWaitTime - requestImpressions:impressions]; + withFetchWaitTime:nextFetchWaitTime + requestImpressions:impressions]; if (forInitialAppLaunch) { [self checkForAppLaunchMessage];