Skip to content
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

Deferred deep link callback is not triggered in ios 17/18 #752

Open
HungPVRikkei opened this issue Feb 28, 2025 · 5 comments
Open

Deferred deep link callback is not triggered in ios 17/18 #752

HungPVRikkei opened this issue Feb 28, 2025 · 5 comments

Comments

@HungPVRikkei
Copy link

Currently, I am developing a new user feature. I have followed the steps as outlined in the documentation. However, while there are no issues on iPhone OS 15 or 16, when it comes to iPhone OS 17 or 18, I noticed during debugging that the adjustDeferredDeeplinkReceived function is not being called. I’m not sure if there’s a missing configuration, because if something were missing, it wouldn’t have worked on OS 15 or 16 either.
SDK Version:

  • Adjust/AdjustWebBridge (5.0.2):
    • AdjustSignature (= 3.35.2)
  • AdjustSignature (3.35.2)
@HungPVRikkei
Copy link
Author

@uerceg can u help this case ?

@HungPVRikkei HungPVRikkei changed the title Func adjustDeferredDeeplinkReceived not called in ios 17/18 Deferred deep link callback is not triggered in ios 17/18 Feb 28, 2025
@uerceg
Copy link
Contributor

uerceg commented Feb 28, 2025

Hey @HungPVRikkei,

Can you redo your test with the SDK in sandbox environment and log level set to verbose, pick up all the logs and send them over? Feel free to omit data you might not want to share such as app token, event token(s) or anything else you might find sensitive.

@HungPVRikkei
Copy link
Author

Dear @uerceg
Sorry, due to some confidential information, I cannot upload the log segment, but I checked on two devices. On the device running iOS 15.4.1, it works fine, and the log shows the segment "[Adjust]i: Open deep link (...)", while on the device running iOS 18, I don’t see it. Additionally, can you let me know if there’s any specific log segment you’d like me to check?

@uerceg
Copy link
Contributor

uerceg commented Feb 28, 2025

You can find my email on my GitHub profile page. Feel free to send the logs from the iOS 18 device over there and I'll check what's up.

@HungPVRikkei
Copy link
Author

Hi @uerceg
I have debugged and found that the error lies in the ADJAttributionHandler file, specifically in the code line attributionResponseData.deeplink = [NSURL URLWithString:deepLink];. Currently, I am using Xcode 16.1. With the same URL, on iOS 15/16, [NSURL URLWithString:deepLink]; always returns a value, but on iOS 17/18, it always returns nil. This is why the adjustDeferredDeeplinkReceived function is not being called. Here is the sample URL where I encountered this bug:

abc.net://?adj_t=9vj38fk4&adj_deep_link=appabcnet%3A%2F%2F%3Fcast_login_id%3D29468400%26intm%3DA0456ABVC732615721%26adcd%3Dos1019%26type%3D11&adjust_no_sdkclick=1

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

No branches or pull requests

2 participants