Closed Bug 1368688 Opened 7 years ago Closed 7 years ago

Support Adjust deferred deep linking

Categories

(Firefox for iOS :: Firefox Accounts, enhancement)

Other
iOS
enhancement
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: vbudhram, Assigned: vbudhram)

Details

This bug will be used to track getting the `deferred` part of deep linking working in FxiOS. We were able to land code to handle deep linking via https://bugzilla.mozilla.org/show_bug.cgi?id=1317580.

Adjust deferred deep linkingn docs:
https://docs.adjust.com/en/deeplinking/#deferred-deeplinking

I have only gotten deferred linking working once using these steps.

1) Delete the app from device
2) Open https://app.adjust.com/2uo1qc?deep_link=firefox://?url=http://www.mozilla.org from Safari
3) Download the application
4) Open the application

Expected:
Opens the app and then opens Mozilla web page.

Actual:
Opens the app.

Per the documentation, it says that deferred linking might not work if there are splash screens on the app launch. I emailed support@adjust.com to see if there is a way to test deferred linking locally with custom build or other things to try to test it.
Response from Adjust support

-----
Hi Vijay,

I'm happy to help here.

It's important to have in mind two things when testing deferred deeplinks:

1)It has to be on a new install so make sure to clear your device before each install (you can use the feature "testing console" in the Adjust dashboard
2)make sure the deeplink is properly encoded. Since you have two URLs (scheme and mozilla webpage), you'd have to double encode that

I tested the link below and it seemed to have worked for me:

https://app.adjust.com/2uo1qc?deep_link=firefox%3A%2F%2F%3Furl%3Dhttp%253A%252F%252Fwww.mozilla.org
Updated response from Adjust support

-----
Hi Vijay,

Universal Links are mandatory for deeplinks in general, including deferred. In your case, that's most likely what's happening.

The URL I sent you worked for me using Neocities in Safari and as you can see in our documentation, using a deep_link parameter still works for iOS, but it's not recommended since it won't work in all environments.

Let me know if you prefer to discuss this on a call.
Assignee: nobody → vbudhram
Updated response from Adjust support

-----
Hi Vijay,

It was a pleasure talking to you today.

As promised, here are the URLs  you need to use in order to erase your advertising ID from our system. This is crucial when testing deferred deeplinking since that will only work on a brand new install. These URLs already contain the correct app token (Firefox iOS and Android) so all you have to do is replace the advertising ID.

iOS - http://app.adjust.com/forget_device?app_token=gqrwnbypw28p&idfa=XXXXX-XXX-XXXX-XXXX-XXXXXXX
Android -  http://app.adjust.com/forget_device?app_token=gqrwnbypw28p&gps_adid=XXXXX-XXX-XXXX-XXXX-XXXXXXX

After using the URL above, go to Neocities (https://adjustsanfrancisco.neocities.org/) (in Safari) and click on the link "Firefox Deeplink". This should take you to the app store and then to the correct page inside the app.

Let me know if this works for you.

-----

Note, to get my advertising ID, I downloaded an app called "The Identifiers". The apps only function is to display this ID. There is probably an easier way to get this...

Video of deferred deep linking working
https://drive.google.com/open?id=0B7MZ5bFBfvpFNGtaUi0wZTBMZHM

If the user installed the app at some point, then we could use Universal Link to launch them into the correct page.
Marking this bug closed since the deferred deep linking works with the correct configuration. Will create a new bug to track adding support of Universal Links.
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.