AppsFlyerSDK / appsflyer-android-sdk

AppsFlyer Android SDK
Other
9 stars 2 forks source link

subscribeForDeepLink returning wrong DeepLinkResult object #30

Closed krobert closed 1 year ago

krobert commented 3 years ago

Hey,

We are having an issue when using onelink.me inside our application. sdk version: 6.4.3

The first deeplink is coming from iterable, which is resolved into a onelink. After that, since there is no method in the sdk to handle a deeplink programmatically, i navigate the link to an external browser, which opens the app again with the onelink, and calls the right callback:

When i receve the deeplink through subscribeForDeepLink callback and trying to access the deeplinkValue, i receive a null, because the sdk is parsing it wrong:

   appsflyer.subscribeForDeepLink { deepLinkResult ->
            when (deepLinkResult.status) {
                DeepLinkResult.Status.FOUND -> {
                    Timber.d("DeepLink found")
                    val deepLinkObj = deepLinkResult.deepLink
                    var actualDeeplink: String? = ""
                    actualDeeplink = deepLinkObj.deepLinkValue // this returns null
                }
                  ....
            }
            ....
    }

See the result i debugged: image

The value is inside the referrer property, and not as a seperate.

In the website we are not putting anything special, just using this field: image

Do you know what we are doing wrong? Can you check if this is an issue in appsflyer?

Thanks, Robert

ge-af commented 3 years ago

Hi @krobert

It looks like we do not allow to add this "/" character inside the deep_link_value. We have an open issue about it internally we is being worked as we speak.

Please see attached image:

image (9)

Please try to use a different deep_link_value and try it again. If the issue is persistent, we would kindly ask you to submit a support ticket to support@appsflyer.com in order to get optimal support. When submitting the ticket, please specify your AppsFlyer sign-up (account) email, app ID, reproduction steps, code snippets, logs, the links you used, and any additional relevant information.

github-actions[bot] commented 1 year ago

This issue is closed due to inactivity. If the issue continue, please open a new one.