appsflyer-react-native-plugin icon indicating copy to clipboard operation
appsflyer-react-native-plugin copied to clipboard

How to get additional params in deferred deep link

Open gabrielfvf7 opened this issue 3 years ago • 4 comments

Report

Plugin Version

6.4.0

On what Platform are you having the issue?

iOS and Android

What did you do?

Opened a deepLink with and without the app installed

What did you expect to happen?

The same behavior for both case, where when i open the deeplink, the app receives the same data

What happened instead?

In the deferred deep link, it's receives unexpected data

Please provide any other relevant information.

When i open the app using the deeplink and the app is already installed, the object for deeplink is: {"status":"success","deepLinkStatus":"FOUND","type":"onDeepLinking","data":{"deeplink_path":"partner-online","media_source":"dev","campaign":"testeonline","id":"2","deep_link_value":"partner-online","is_deferred":false},"isDeferred":false} Where i use the values inside data to redirect the user to a screen. But when i open the deeplink in the deferred way, where the app it's not yet installed, the object for deeplink i receive when the app opens is: {"status":"success","deepLinkStatus":"FOUND","type":"onDeepLinking","data":{"campaign_id":"","af_sub3":"","match_type":"probabilistic","af_sub1":"","deep_link_value":"partner-online","campaign":"","af_sub4":"","timestamp":"2022-07-05T20:53:04.725","click_http_referrer":"","af_sub5":"","media_source":"","af_sub2":"","is_deferred":true},"isDeferred":true} Where the additional params that i set in AppsFlyer are missing. What i need to do to get?

There already other issues like this with the same problem

gabrielfvf7 avatar Jul 05 '22 21:07 gabrielfvf7

👋 Hi @gabrielfvf7 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 Jul 10 '22 06:07 github-actions[bot]

👋 Hi @gabrielfvf7 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.

I already did that

gabrielfvf7 avatar Jul 11 '22 20:07 gabrielfvf7

@gabrielfvf7 Did you manage to solve it? I have the same problem.

filippobarcellos avatar Aug 02 '22 14:08 filippobarcellos

Hi @filippobarcellos , i have sent an email to AppsFlyer support and they responded saying that this works this way, for security reasons in defered deep link the extra params wont come, as said here. So in defered is required to use deep_link_value

gabrielfvf7 avatar Aug 02 '22 14:08 gabrielfvf7