mirror of
https://github.com/zhigang1992/facebook-ios-sdk.git
synced 2026-01-12 22:47:16 +08:00
update SKAN API
Summary: To avoid using deprecated API, updated to latest one Reviewed By: KylinChang Differential Revision: D49296481 fbshipit-source-id: 8051fe1f5cf6f3972b3127db6ec3d2132a28d052
This commit is contained in:
committed by
Facebook GitHub Bot
parent
765823bd4b
commit
31facd640b
@@ -233,7 +233,11 @@ static char *const serialQueueLabel = "com.facebook.appevents.SKAdNetwork.FBSDKS
|
||||
if ([self shouldCutoff]) {
|
||||
return;
|
||||
}
|
||||
if (@available(iOS 15.4, *)) {
|
||||
[self.conversionValueUpdater updatePostbackConversionValue:value completionHandler:nil];
|
||||
} else {
|
||||
[self.conversionValueUpdater updateConversionValue:value];
|
||||
}
|
||||
self.conversionValue = value + 1;
|
||||
self.timestamp = [NSDate date];
|
||||
[self _saveReportData];
|
||||
|
||||
Reference in New Issue
Block a user