Skip to content
This repository has been archived by the owner on Nov 7, 2023. It is now read-only.

Link auto clicking #5

Open
dharamdip opened this issue Aug 9, 2018 · 0 comments
Open

Link auto clicking #5

dharamdip opened this issue Aug 9, 2018 · 0 comments

Comments

@dharamdip
Copy link

I am facing very strange issue with $desktop_url. as I have created deep link with $desktop_url, and send that link via email.
but link is auto calling on server without clicking on it.

here is my code

client = BranchIO::Client.new(ENV['BRANCH_KEY'], ENV['BRANCH_SECRET'])
    res = client.link(
        feature: 'confirmation_link',
        data: {
          token: token,
          "$desktop_url": "#{ENV['DOMAIN_URL']}/api/v1/users/confirmation.html?confirmation_token=#{token}"
        })
    res.url

If I removed $desktop_url then all things work like charm.

Thanks in advance.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant