Skip to content

Commit

Permalink
add os version paramwhen fetching config
Browse files Browse the repository at this point in the history
Summary: as title, the param is optional

Reviewed By: KylinChang

Differential Revision: D48152979

fbshipit-source-id: eba091b769a9249c8c4b95f88c08f1af0b31ceb8
  • Loading branch information
Xin Wu authored and facebook-github-bot committed Aug 14, 2023
1 parent 96dd709 commit 41044df
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,11 @@ - (void)_loadConfigurationWithBlock:(FBSDKSKAdNetworkReporterBlock)block
return;
}
self.isRequestStarted = YES;
id<FBSDKGraphRequest> request = [self.graphRequestFactory createGraphRequestWithGraphPath:[NSString stringWithFormat:@"%@/ios_skadnetwork_conversion_config", FBSDKSettings.sharedSettings.appID]];
id<FBSDKGraphRequest> request = [self.graphRequestFactory createGraphRequestWithGraphPath:[NSString stringWithFormat:@"%@/ios_skadnetwork_conversion_config", FBSDKSettings.sharedSettings.appID]
parameters:@{
@"fields" : [NSString stringWithFormat:@"ios_skadnetwork_conversion_config.os_version(%@)", UIDevice.currentDevice.systemVersion]
}];

[request startWithCompletion:^(id<FBSDKGraphRequestConnecting> connection, id result, NSError *error) {
[self dispatchOnQueue:self.serialQueue block:^{
if (error) {
Expand Down

0 comments on commit 41044df

Please sign in to comment.