Hi,
I am taking the liberty of creating an issue because I cannot process the deep link which is passed as a parameter of a universal link on my react native iOS app. The link is: https://myprojectid.adj.st/promotions?adj_t=........&adj_deep_link=fidmelistint%3A%2F%2Ffidmelist%2Fpromotions.
For several days I have been trying to find out why the link opens my application, but redirects me each time to the iOS store.
I tried following the documentation (https://dev.adjust.com/en/sdk/ios/features/deep-links/direct?version=v4#:~:text=your%20app%20delegate.-,Universal%20links,-Update%20the%20application), but even by implementing my own logic to retrieve the deep link via the adj_deep_link parameter present in the URL, I am automatically redirected to the store.
Do you have any sample code that we are supposed to use to make universal linking work correctly?
`
[ADJLinkResolution
resolveLinkWithUrl:incomingURL
resolveUrlSuffixArray:@[
@"email.example.com", @"short.example.com"
]
callback:^(NSURL* _Nullable resolvedURL) {
// add your code below to handle deep link
// (for example, open deep link content)
// resolvedURL object contains the deep link
// call the below method to send deep link to Adjust's servers
[Adjust appWillOpenUrl:resolvedURL];
}];`
How does the SDK know that the application was opened via the deep link, and that it should not be redirected to the appstore? And is it normal that the content of resolvedURL is the same as incomingURL ?
Thank you in advance for your help.
Hi,
I am taking the liberty of creating an issue because I cannot process the deep link which is passed as a parameter of a universal link on my react native iOS app. The link is: https://myprojectid.adj.st/promotions?adj_t=........&adj_deep_link=fidmelistint%3A%2F%2Ffidmelist%2Fpromotions.
For several days I have been trying to find out why the link opens my application, but redirects me each time to the iOS store.
I tried following the documentation (https://dev.adjust.com/en/sdk/ios/features/deep-links/direct?version=v4#:~:text=your%20app%20delegate.-,Universal%20links,-Update%20the%20application), but even by implementing my own logic to retrieve the deep link via the adj_deep_link parameter present in the URL, I am automatically redirected to the store.
Do you have any sample code that we are supposed to use to make universal linking work correctly?
`
[ADJLinkResolution
How does the SDK know that the application was opened via the deep link, and that it should not be redirected to the appstore? And is it normal that the content of resolvedURL is the same as incomingURL ?
Thank you in advance for your help.