AppsFlyerFramework icon indicating copy to clipboard operation
AppsFlyerFramework copied to clipboard

How to use af_dp in sdk version 6.2.0

Open calistabertha opened this issue 4 years ago • 1 comments

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)
    }
}

calistabertha avatar Feb 18 '21 10:02 calistabertha

Same here

ffgiraldez avatar Mar 09 '22 11:03 ffgiraldez

👋 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.

github-actions[bot] avatar Mar 23 '23 10:03 github-actions[bot]