Closed ViswaDB closed 1 day ago
👋 Hi @ViswaDB 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:
Just commenting here as I had the same issue and contacted support for assistance. Not sure if this will fix the issue for everyone, but it did for me.
You need to add the line for setting the template ID before you initialise the SDK. The documentation isn't too clear on this currently, but that was the solution provided by support for me and it worked.
Once the template ID is set, and then you initialise the SDK, you can then call the generateInviteLink
anywhere in your app and it will generate using the correct subdomain.
@ViswaDB Please try what @Shiggins95 suggested and let us know if it helped
@ViswaDB Please try what @Shiggins95 suggested and let us know if it helped
I tried it, but I obtain links to go.onelink.me
@ViswaDB Please try what @Shiggins95 suggested and let us know if it helped
Yes after setAppInviteOneLinkID in app js, it's returning correct link in generateInviteLink. Thanks.
@ViswaDB my link is generated with the correct domain name, but it is not navigating to play store or opening the installed app but my oneLink with the same domain doing both. what could be the reason
Report
Plugin Version
6.12.2
On what Platform are you having the issue?
android ios works fine
What did you do?
I tried to generate a deep link. Here's the code appsFlyer.setAppInviteOneLinkID('8kih');
What did you expect to happen?
I am expecting the link to be in this format. https://myappname.onelink.me
What happened instead?
But i got https://go.onelink.me.