我已將AppsFlyer SDK集成到我的項目中。我設法讓深層鏈接起作用。我在OneLink中創建的任何鏈接都會根據需要打開應用程序。但是我無法訪問鏈接參數。我已經實現了所有如下代理方法:onAppOpenAttribution未要求與AppsFlyer建立深層鏈接
func onAppOpenAttribution(_ attributionData: [AnyHashable : Any]!) {
print("Test 1")
}
func onAppOpenAttributionFailure(_ error: Error!) {
print("Test 2")
}
func onConversionDataReceived(_ installData: [AnyHashable : Any]!) {
print("Test 3")
}
func onConversionDataRequestFailure(_ error: Error!) {
print("Test 4")
}
當我的應用程序從深層鏈接打開時,不會調用其中的一個。我在這裏錯過了什麼?在我的控制面板中配置的URL中,我將mycompany://
配置爲Mobile deeplink URL
。任何指針都會很棒。謝謝!
您使用的是哪種iOS SDK版本?你註冊了「委託」嗎?如果您不是通過深層鏈接打開應用程序,那麼會調用「onConversionDataReceived」?也請發佈AppsFlyer初始化 –