deep link is not working in case user is redirect through app store to install app
Report
we had an issue with deep linking in case, when link redirecting user to app store, to install the app, and we have like screen, to where user navigate after signup from deep link, but it's not working, and also there is a case on some devices(with same OS) when user installed app already, on one device deep link works perfectly (opens app, redirects), but on another device even if app is installed deep link is't working, so it takes to app store only.
Plugin Version
ℹ Please replace these two lines with the plugin version.
e.g. via 6.13.1
On what Platform are you having the issue?
IOS
What did you expect to happen?
link has to open app store and after registration it needs to navigate user to exact screen
What happened instead?
link is not redirecting user after app store installation, but redirects when app is already installed
👋 Hi @edapess 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 [email protected]. When submitting the ticket, please specify:
- ✅ your AppsFlyer sign-up (account) email
- ✅ app ID
- ✅ production steps
- ✅ logs
- ✅ code snippets
- ✅ and any additional relevant information.
we faced the same issue, deep link opening app store even if app is already installed, as fix we needed to clear safari cache on the device and the link would then work as expected, open the app. ref: https://discussions.apple.com/thread/253947740?answerId=257410229022#257410229022 still looking for a solution to fix this, as it is not an option to tell each user who tap on a appsflyer deeplink to clean their safari cache
platform: ios "react-native": "0.72.4", "react-native-appsflyer": "^6.12.2"
we faced the same issue, deep link opening app store even if app is already installed, as fix we needed to clear safari cache on the device and the link would then work as expected, open the app. ref: https://discussions.apple.com/thread/253947740?answerId=257410229022#257410229022 still looking for a solution to fix this, as it is not an option to tell each user who tap on a appsflyer deeplink to clean their safari cache
platform: ios "react-native": "0.72.4", "react-native-appsflyer": "^6.12.2"
Thanks, @arifo. I will check this today and get back to you with the investigation results. I hope the Appsflyer team will fix this in the near future.
@arifo so I checked, the app store case (Deferred linking) still doesn't work, and i checked again with documentation, everything is set up correctly
are others experiencing this issue? trying to determine whether it's a good idea to implement this or not
I have the same issue. I'm working with this versions. And when I paste the onelink in Safari it returns to the Apple Store.
platform: ios "react-native": "0.73.4", "react-native-appsflyer": "^6.13.1",
are others experiencing this issue? trying to determine whether it's a good idea to implement this or not
I think I'm not the only one
am getting this message when i try to open the link using universal links with the correct subdomain link and associate domain. any help please ?
Seems like appsflyer has a lot of issues with deferred deep links. However I just set it up and see in the ios logs that deferred deep links might be working.
In particular if you:
- Make sure debug mode is on
- Make sure
onDeepLinkListeneris set to true - Build the app in preview / production mode.
Then look at the native ios logs (using the console app) and search for "af_" or "jsonMessageStr" you might see some values:
I am also logging a bunch of events, so the logs might be coming from there:
appsFlyer.onInstallConversionFailure((data) => {
console.log('install conversion failure', data)
});
appsFlyer.onDeepLink((data) => {
console.log('on deep link data', data)
})
appsFlyer.onInstallConversionData((data) => {
console.log('on install conversation data', data)
})
appsFlyer.onAppOpenAttribution((data) => {
console.log('on app open attribution data', data)
})
appsFlyer.onAttributionFailure((data) => {
console.log('on attribution failure data', data)
})
console.log('init appsflyer')
appsFlyer.initSdk(
{
devKey: your_dev_key,
appId: your_app_id,
isDebug: true,
onDeepLinkListener: true
},
() => {
console.log('apps flyer init success')
}, // success handler is a noop
(error) => {
console.log('apps flyer init error', error)
},
);
I was having the same issue and couldn't figure out why I wasn't getting re-directed into the app. Finally figured out it was missing configuration in OneLink Management.
Inside there you need to setup this part
Hope it helps someone who missed this part of documentation as I did
I was having the same issue and couldn't figure out why I wasn't getting re-directed into the app. Finally figured out it was missing configuration in OneLink Management.
Inside there you need to setup this part
Hope it helps someone who missed this part of documentation as I did
I tried this but same issue @Haykys, can you advice on how to approach this, since I need to test it locally and I can't wait till each each time to upload to store and wait for there approval to test it
@Haykys we also had everything configured, so the problem is not there in our case
@fouadsaoudi You don't have to upload it to the store each time. You can just build the app using Xcode to test the changes
Here the testing I did (iOS only): Only one scenario works as expected
Safari, app installed,
- Doesn’t open at all shows blank page in browser Chrome, app installed or app not installed
- Dialog shows briefly about allowing opening external application, then App Store sheet opens Safari app not installed
- Opens app store
Universal Deeplinks setup correctly
Template configured correctly
I've also tried setting af_force_deeplink to true which works for users who don't have the app installed but doesn't for users who have it installed.
AppsFlyer ticket number: 663598
This is also affecting us
us as well, the link redirecting users to the appstore even the app already installed
the same issues
Same issue. We have setup everything and even cleared safari cache and cookies. Its not opening the installed app
Same issue, link is redirected to the Apple Store while the App is installed. Everything is set on my side as well as the "onelink template"
The check in Settings -> Developer is ✅
While my App is in production already and have been working with firebase for years with Appflyers I need to append ?mode=developer to the associated domain to make it work.
Could this be related to some caching?
Only tested locally (as I'm just migrating) but by adding this, the link opens the App instead of redirecting to the store.
Same issue we are facing but on iOS OS version 18.0 and above. For below versions it is working fine.
@vkukade-altir Have you solved it ?
any solution for this?
Try adding af_force_deeplink=true to the URL parameter — that worked for me.
This issue is stale because it has been open for 60 days with no activity.
This issue was closed because it has been inactive for 14 days since being marked as stale.
Should we use isDebug: false parameter in production build or just stick with isDebug: true ?
same issue on IOS:
Inside there you need to setup this part
Hope it helps someone who missed this part of documentation as I did