Skip to content

Commit

Permalink
rolloutID
Browse files Browse the repository at this point in the history
  • Loading branch information
ddnan committed Feb 2, 2024
1 parent 3b9cac5 commit d595008
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions FirebaseRemoteConfig/Sources/FIRRemoteConfig.m
Original file line number Diff line number Diff line change
Expand Up @@ -644,9 +644,9 @@ - (void)notifyRolloutsStateChange:(NSArray<NSDictionary *> *)rolloutMetadata
versionNumber:(NSString *)versionNumber {
NSMutableArray<FIRRolloutAssignment *> *rolloutsAssignments = [[NSMutableArray alloc] init];
for (NSDictionary *metadata in rolloutMetadata) {
NSString *rolloutId = metadata[@"rollout_id"];
NSString *variantID = metadata[@"variant_id"];
NSArray<NSString *> *affectedParameterKeys = metadata[@"affected_parameter_keys"];
NSString *rolloutId = metadata[RCNFetchResponseKeyRolloutID];
NSString *variantID = metadata[RCNFetchResponseKeyVariantID];
NSArray<NSString *> *affectedParameterKeys = metadata[RCNFetchResponseKeyAffectedParameterKeys];
if (rolloutId && variantID && affectedParameterKeys) {
for (NSString *key in affectedParameterKeys) {
FIRRemoteConfigValue *value = [self configValueForKey:key];
Expand Down

0 comments on commit d595008

Please sign in to comment.