-
Notifications
You must be signed in to change notification settings - Fork 197
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[iOS 14.5] onDeepLink no triggered #295
Comments
Our team is facing the same issue with the deferred link on iOS 14.5. The Plugin Version:
Environment:
|
@lucasroca @trinhnguyen-enouvo the handler doesn't work at all? or just when the app is in the background/cold start? |
@amit-kremer93 we facing the same issue in android as well. when the app is in background, onDeepLink works |
We are facing the same issue in iOS 14.5 with appsflyer version 6.2.41. |
@poonai @lucasroca @kbihani try to update to the plugin's latest version. it works with ios 14.5 |
@amit-kremer93 Are you sure it does works ? Using the provided sample app, it does not ...
Using
Tested on simulator (iPhone 11 and iphone 12 max) |
@ACHP It worked for us after upgrading to 6.3.50. We made a change to the file node_modules/react-native-appsflyer/ios/AppsFlyerAttribution.m b/node_modules/react-native-appsflyer/ios/AppsFlyerAttribution.m: We needed to add this line twice: And it started working. |
I have the same problem.. I use react-native-appsflyer@6.4.0 and simulator iOS 14.4 ... Is there any other solution :) Any help is welcome! |
Finally found that "onDeepLink" not get called because I am working with scenes on iOS.. But still, any ideas about how to implement the deep linking methods on AppDelegate.m in order for this to work ..? |
@michalis-ligopsychakis if you are using universal-links use this
|
I am using universal links, and i have the setup you mentioned in AppDelegate.m, The universal link always fall back and neither onDeepLink nor onOpenAppAttribution gets fired, i am testing on simulator btw the fallback happens i suppose because the following snippet |
@GoldenWings try to go to
if it works for you, a fix should be released in the next release |
Actually onDeepLink working without the need of adding those lines will double check tomorrow. |
@GoldenWings onDeepLink and onAppOpenAttribution are both for universal links and uri scheme. the difference is the onDeepLink is newer then onAppOpenAttribution. you can read more here |
Although I don't see any technical explanation of why this should work, I've tried this patch but no luck. iOS 15.2.1, physical device, release build. |
What's worth mentioning, I was able to make this work by implementing the DeeplinkDelegate to the AppDelegate of our app. In this case RNAppfslyers' (the one is set with initSdk) delegate is ignored before the bridge is initialized, but at least it gives a possibility to handle deep links on cold start by sending handled events back to JS with EventEmitter (this is how it works also in the library), not relying on boxed @amit-kremer93 I think the initial problem is that the |
@amit-kremer93 Unfortunately, it doesn't. The AppsFlyerAttribution checks if the bridge is initialized and stores the UserActivity for later use if it doesn't, but the event is still not fired on a cold start. |
Thankfully everything is working just fine now, |
Hi @GoldenWings One question please, does the deferred deep link work for you? I always get isDeferred equals to false and the deepLinkStatus equal to NOT_FOUND, I really appreciate any help, thanks |
Hi everyone! Anyone seeing that We're seeing that |
I am facing the same issue with deep link on iOS 16.3. The onDeepLink is never triggered Plugin Version:
Environment: iOS: 16.3 |
@yabasha Any ideas how to fix it? I contacted with support but there is no solution yet. I have the same issue but when the app was fully closed. In the foreground it works. |
@annasychugina for me it is never triggered for |
@annasychugina Did you get any response from the support or managed to solve this? |
We are having the same issue. @amit-kremer93 Deeplinking + deferred deeplinking works well with onelink.me links Any idea? |
Has it been resolved yet? |
i am also facing same issue, Did anyone able to solve the issue ? |
i am also facing same issue |
Same! |
Any news on this issue? |
Report
onDeepLink handler not being called in iOS 14.5
Plugin Version
"react-native": "0.64.1"
"react-native-appsflyer": "6.2.41"
On what Platform are you having the issue?
iOS
What did you do?
I updated to Xcode 12.5 and tested opening a deep link on iOS 14.5, and it didn't trigger
onDeepLink
. The handler is working fine on iOS 14.4 and 13.5.I tried adding
timeToWaitForATTUserAuthorization: 10
, but it didn't help.What did you expect to happen?
Deep link handler
to be loggedWhat happened instead?
Nothing happens
Please provide any other relevant information.
I have Firebase and Facebook SDK installed, so I'm using react-native-permissions to check and request permissions to ATT.
I'd appreciate some help here. I might be missing some configuration. Thanks in advance!
The text was updated successfully, but these errors were encountered: