Skip to content

Commit 526e7b4

Browse files
authored
Merge pull request #3341 from segmentio/tlalfano-patch-1
updating code sample per partners request
2 parents 9d34ae8 + 2e23ad5 commit 526e7b4

File tree

1 file changed

+1
-1
lines changed
  • src/connections/destinations/catalog/appsflyer

1 file changed

+1
-1
lines changed

src/connections/destinations/catalog/appsflyer/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ To use the latest AppsFlyer SDK to collect IDFAs, do the following:
4343
// for iOS 13 and earlier - The IDFA will be collected by the SDK. The user will NOT be prompted for permission.
4444
if #available(iOS 14, *) {
4545
// Set a timeout for the SDK to wait for the IDFA collection before handling app launch
46-
AppsFlyerLib.shared().waitForAdvertisingIdentifier(withTimeoutInterval: 60)
46+
AppsFlyerLib.shared().waitForATTUserAuthorization(withTimeoutInterval: 60)
4747
// Show the user the Apple IDFA consent dialog (AppTrackingTransparency)
4848
// Can be called in any place
4949
ATTrackingManager.requestTrackingAuthorization { (status) in

0 commit comments

Comments
 (0)