AppsFlyerSDK / appsflyer-unity-plugin

AppsFlyer Unity Plugin
MIT License
156 stars 64 forks source link

User invite generated link not redirecting to installed app #279

Closed basitabsolutely closed 6 months ago

basitabsolutely commented 7 months ago

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

github-actions[bot] commented 7 months ago

👋 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:

basitabsolutely commented 6 months ago

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");**

    }