Skip to content

Commit 31385e0

Browse files
authored
Remove cleanup of experiments that are no longer running (#5078)
* Remove cleanup of experiments that are no longer running (product decision) * Revert podspec bump
1 parent 2e7122c commit 31385e0

File tree

1 file changed

+0
-14
lines changed

1 file changed

+0
-14
lines changed

FirebaseInAppMessaging/Sources/Flows/FIRIAMMsgFetcherUsingRestful.m

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,6 @@
2525
#import "FIRIAMMsgFetcherUsingRestful.h"
2626
#import "FIRIAMSDKSettings.h"
2727

28-
#import <FirebaseABTesting/FIRExperimentController.h>
29-
3028
static NSInteger const SuccessHTTPStatusCode = 200;
3129

3230
@interface FIRIAMMsgFetcherUsingRestful ()
@@ -187,18 +185,6 @@ - (void)fetchMessagesWithImpressionList:(NSArray<FIRIAMImpressionRecord *> *)imp
187185
@"API request for fetching messages and parsing the response was "
188186
"successful.");
189187

190-
// Validate running experiments with ABT.
191-
NSMutableArray *runningExperiments = [[NSMutableArray alloc] init];
192-
for (FIRIAMMessageDefinition *messageDefinition in messages) {
193-
if (messageDefinition.experimentPayload) {
194-
[runningExperiments addObject:messageDefinition.experimentPayload];
195-
}
196-
}
197-
198-
[[FIRExperimentController sharedInstance]
199-
validateRunningExperimentsForServiceOrigin:@"fiam"
200-
runningExperimentPayloads:[runningExperiments copy]];
201-
202188
[self.fetchStorage
203189
saveResponseDictionary:responseDict
204190
withCompletion:^(BOOL success) {

0 commit comments

Comments
 (0)