AppsFlyerSDK/appsflyer-unity-plugin

User invite generated link not redirecting to installed app

basitabsolutely opened this issue ยท 2 comments

I am following this example
#https://dev.appsflyer.com/hc/docs/userinvite
my app is creating the user invite link but it's not redirecting to the app I have already set the URI schemes on apps flyer console under the OneLink templates if I click the onelink template from the console app the link works fine and redirects to the app as well but the one from the user invite link it's not redirecting can anyone help me with this or guide me what I am doing wrong

๐Ÿ‘‹ Hi @basitabsolutely 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 support@appsflyer.com.
When submitting the ticket, please specify:

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

by the help of support i have fix it for those who were stuck you have to add the uri schema as a parameter on user invite generation link for example
parameters.Add("af_dp", "octothinkdl://octothinklink");

```     public void generateAppsFlyerLink(string userInvitedId, string userInvitedName)
    {
        _userInviteLink = null;
        Dictionary<string, string> parameters = new Dictionary<string, string>();
        parameters.Add("channel", "User_invite");
        parameters.Add("campaign", "user_invites");
        parameters.Add("deep_link_value", userInvitedId);
        parameters.Add("deep_link_sub1", userInvitedName);
        **parameters.Add("af_dp", "octothinkdl://octothinklink");**



    }