1) Created universal link, provided links support.
2) Integrated sdk with deferred deep links support.
3) Released app, checked deferred Deeplink with test device.
Problem:
I can see that deferred deeplinks work only with accepting App Tracking Transparency on iOS 14.5+.
So what happens in my code:
if let networkManager = NetworkReachabilityManager(), networkManager.isReachable {
AppsFlyerLib.shared().start()
}
if #available(iOS 14, *) {
ATTrackingManager.requestTrackingAuthorization { (status) in
switch status {
case .denied:
print("AuthorizationSatus is denied")
case .notDetermined:
print("AuthorizationSatus is notDetermined")
case .restricted:
print("AuthorizationSatus is restricted")
case .authorized:
print("AuthorizationSatus is authorized")
@unknown default:
assertionFailure("Unknown status")
}
}
}
After review about empty internet connection before initialising SDK, I added checking on connection before starting SDK and SDK will start only after accepting WLAN or other network (approved).
The problem is that if I use link + will accept ATT = success deferred deep link result
Example log:
Version 6.12.0
Preconditions:
1) Created universal link, provided links support. 2) Integrated sdk with deferred deep links support. 3) Released app, checked deferred Deeplink with test device.
Problem:
I can see that deferred deeplinks work only with accepting App Tracking Transparency on iOS 14.5+. So what happens in my code:
1) Initialise SDK + add waitForATTUserAuthorization in
func application(_ application: UIApplication, didFinishLaunchingWithOptions
2) In func applicationDidBecomeActive
After review about empty internet connection before initialising SDK, I added checking on connection before starting SDK and SDK will start only after accepting WLAN or other network (approved).
The problem is that if I use link + will accept ATT = success deferred deep link result Example log:
If I use link and discard ATT = fail and organic install. Example log:
Can someone help to introduce what’s happened and why .denied status is not tracking deffered deep link?