Skip to content

Commit 85427c5

Browse files
authored
Merge pull request #520 from segmentio/repo-sync
repo sync
2 parents 41fa695 + 66b64e9 commit 85427c5

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)