appsflyer-flutter-plugin icon indicating copy to clipboard operation
appsflyer-flutter-plugin copied to clipboard

Appsflyer onDeepLinking not working in iOS

Open huongrealest opened this issue 1 year ago • 2 comments

Link only open app but not jump to onDeepLinking i have some log

[AppsFlyerSDK] [AppsFlyer Exception Client] [EXM] No configuration. Exceptions will not be sent
[AppsFlyerSDK] [com.appsflyer.serial] [SKAd] S2S URL: https://3ipvb5-skadsdkless.appsflyersdk.com/api/v2.0/conversion-value?uid=1723185882615-4185564&app_id=id1627387118&trigger=bg&session_counter=19&iaecounter=0&device_timestamp=1723445904804&prev_response_time=1723445900397&prev_update_time=1723445900400&prev_update_value=-10010&prev_response_code=200&session_length=55&os_version=16.3.1&sdk_version=6.14.3&bundle_id=com.shs.com.vn.SHMobileF&device_model=iPhone12,5&gcv_transaction_id=6D309EE1-06EE-4D2E-8BD4-13F6DCBA338F
[AppsFlyerSDK] [com.appsflyer.serial] [SKAd] S2S Request Result: {
    "coarse_value" = low;
    lock = 0;
    "next_w_time" = 1723790714411;
    "postback_sequence_index" = 1;
    value = 0;
}, conversionValue status: -10010
AppsFlyer [deep link]: continue userActivity
[AppsFlyerSDK] [com.apple.main-thread] Referrer URL: (null)
[AppsFlyerSDK] [com.apple.main-thread] NSUserActivity `webpageURL`: https://shtrading.onelink.me/4ox6/n200mwqz?utm_source=zalo&utm_medium=zalo&utm_campaign=zalo
[AppsFlyerSDK] [com.appsflyer.serial] Deeplink regex execution time: 0.000030
[AppsFlyerSDK] [com.appsflyer.serial] [HTTP] Operation start: `OneLink-76B46075-CE06-4AC7-A13D-02DCD56ECFD2`
[AppsFlyerSDK] [com.appsflyer.serial] UniversalLink/Deeplink found:
https://shtrading.onelink.me/4ox6/n200mwqz?utm_source=zalo&utm_medium=zalo&utm_campaign=zalo
[AppsFlyerSDK] [com.appsflyer.serial] Validate custom domain URLs: (
    "https://shtrading.onelink.me"
)
[AppsFlyerSDK] [com.appsflyer.serial] Shortlink found. Executing: https://3ipvb5-onelink.appsflyersdk.com/shortlink-sdk/v2/4ox6?id=n200mwqz
[AppsFlyerSDK] [afsdk-buffer-serial] [HTTP] Dealloc. Time elapsed for: `OneLink-76B46075-CE06-4AC7-A13D-02DCD56ECFD2` - 0.003997921943664551
[AppsFlyerSDK] [com.appsflyer.serial]
[Shortlink] OneLink:{
    "af_referrer_uid" = "1723197944033-5412679734315850732";
    "af_siteid" = "com.ftlvn.mts.shs.dev";
    "media_source" = "af_app_invites";
    pid = "af_app_invites";
    remNo = A4C5;
}
[Shortlink] Response Info:{
    data = {length = 161, bytes = 0x7b226166 5f736974 65696422 3a22636f ... 6e766974 6573227d };
    dataStr = "{\"af_siteid\":\"com.ftlvn.mts.shs.dev\",\"remNo\":\"A4C5\",\"af_referrer_uid\":\"1723197944033-5412679734315850732\",\"pid\":\"af_app_invites\",\"media_source\":\"af_app_invites\"}";
    retries = 0;
    statusCode = 200;
    taskIdentifier = 10;
}

huongrealest avatar Aug 12 '24 07:08 huongrealest

šŸ‘‹ Hi @huongrealest 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 specify:

  • āœ… your AppsFlyer sign-up (account) email
  • āœ… app ID
  • āœ… production steps
  • āœ… logs
  • āœ… code snippets
  • āœ… and any additional relevant information.

github-actions[bot] avatar Aug 12 '24 07:08 github-actions[bot]

i am using flutter 3.7 and plugin version 6.14.3 when i debug, i saw log "AppsFlyer [deep link]: continue userActivity" in that function

override func application(_ application: UIApplication, continue userActivity: NSUserActivity, restorationHandler: @escaping ([UIUserActivityRestoring]?) -> Void) -> Bool {
        NSLog("AppsFlyer [deep link]: continue userActivity")
        AppsFlyerAttribution.shared()!.continueUserActivity(userActivity, restorationHandler:nil )
        return true
    }

huongrealest avatar Aug 12 '24 08:08 huongrealest

We're seeing this same issue and unable to get passed it.

CaleyD avatar Oct 02 '24 20:10 CaleyD

We are seeing the same, any update on this one or anyone found workarounds?

nikorehnback avatar Apr 01 '25 11:04 nikorehnback

same issue in react native

[AppsFlyer Exception Client] [EXM] No configuration. Exceptions will not be sent
[com.appsflyer.serial] [SKAd] S2S URL: https://xxcksh-skadsdkless.appsflyersdk.com/api/v2.0/conversion-value?uid=1744724322123-8733901&app_id=id1602538034&trigger=bg&session_counter=5&iaecounter=0&device_timestamp=1744896052635&prev_response_time=1744896051810&prev_update_time=1744896051811&prev_update_value=-10006&prev_response_code=404&session_length=41&os_version=18.2&sdk_version=6.14.3&bundle_id=com.matto.dev&device_model=x86_64&gcv_transaction_id=876EEE65-42FB-4025-B7BD-A3974337A920
[com.appsflyer.serial] [SKAd] S2S Request Result: {
    message = "not found";
}, conversionValue status: -10006

``` /

Soft-Gurus avatar Apr 17 '25 13:04 Soft-Gurus

I’m also experiencing the same issue in our app — the onDeepLinking function works correctly on Android, but it does not trigger or behave as expected on iOS. any update on this one or anyone found workarounds? i am using flutter 3.29.2 and plugin version 6.14.3

akash-dhedhi avatar Jun 02 '25 09:06 akash-dhedhi

This issue is stale because it has been open for 60 days with no activity.

github-actions[bot] avatar Aug 09 '25 10:08 github-actions[bot]

I am facing the same issue. _appsflyerSdk?.onDeepLinking always returns

case Status.NOT_FOUND: debugPrint("AF__ deep link not found"); break;

whenever I download the app from App Store via the onelink. I have set the associated domains, AppsFlyer console still facing the same issue. Also even though the 'Launch the app using Universal Links' is set in the console, if the app is installed the link still redirects to the App Store.

Any update on this issue?

ArjunBhilare avatar Aug 20 '25 06:08 ArjunBhilare

This issue is stale because it has been open for 60 days with no activity.

github-actions[bot] avatar Nov 26 '25 10:11 github-actions[bot]