Skip to content

Commit

Permalink
Reverted metrics param for 'remoteConfigRequestForKeys' call
Browse files Browse the repository at this point in the history
  • Loading branch information
ijunaid committed Oct 18, 2023
1 parent 2be04d3 commit f721d5c
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions CountlyRemoteConfigInternal.m
Original file line number Diff line number Diff line change
Expand Up @@ -259,6 +259,11 @@ - (NSURLRequest *)remoteConfigRequestForKeys:(NSArray *)keys omitKeys:(NSArray *
queryString = [queryString stringByAppendingFormat:@"&%@=%@", kCountlyRCKeyAutoOptIn, @"1"];
}

if (CountlyConsentManager.sharedInstance.consentForSessions)
{
queryString = [queryString stringByAppendingFormat:@"&%@=%@", kCountlyQSKeyMetrics, [CountlyDeviceInfo metrics]];
}

queryString = [queryString stringByAppendingFormat:@"&%@=%@",
kCountlyAppVersionKey, CountlyDeviceInfo.appVersion];

Expand Down

0 comments on commit f721d5c

Please sign in to comment.