AppsFlyerFramework
AppsFlyerFramework copied to clipboard
How to use af_dp in sdk version 6.2.0
Hi all, please help me. When I used SDK version 4.10.4, to handle deeplink, I use af_dp to get data and redirect other screen. But when I update to sdk v6.2.0, there is no af_dp on onAppOpenAttribution. Anyone can help me?
There is my code
AppsFlyerLib.shared().appsFlyerDevKey = AppProfile.appsFlyerDevKey
AppsFlyerLib.shared().appleAppID = AppProfile.appId
AppsFlyerLib.shared().delegate = self
AppsFlyerLib.shared().isDebug = true
extension AppDelegate: AppsFlyerLibDelegate {
func onConversionDataFail(_ error: Error) {}
func onConversionDataSuccess(_ conversionInfo: [AnyHashable : Any]) {}
func onAppOpenAttribution(_ attributionData: [AnyHashable : Any]!) {
guard let attribute = attributionData?[AppsflyerKey.attribute] as? String,
let link = URL(string: attributionData?[AppsflyerKey.link] as? String ?? DefaultValue.emptyString),
let property = link.query,
let url = URL(string: "\(attribute)?\(property)") else { return }
self.handleIncomingUrl(url)
}
}
Same here
👋 Hi @calistabertha and Thank you for reaching out to us. In order for us to provide optimal support, please submit a ticket to our support team at [email protected]. When submitting the ticket, please provide:
- ✅ your AppsFlyer sign-up (account) email
- ✅ app ID
- ✅ production steps
- ✅ logs
- ✅ code snippets
- ✅ and any additional relevant information.