Add Adjust Universal Link support

RESOLVED FIXED

Status

()

Firefox for iOS
Firefox Accounts
P1
normal
RESOLVED FIXED
a year ago
a year ago

People

(Reporter: Vijay Budhram, Assigned: Vijay Budhram)

Tracking

unspecified
Other
iOS

Firefox Tracking Flags

(fxios8.0+)

Details

(Whiteboard: [MobileCore])

Attachments

(2 attachments)

(Assignee)

Description

a year ago
From Adjust documentation, to get a more consistent deep linking experience on iOS we should enable Universal Links. The process to do this can be found at 

https://docs.adjust.com/en/universal-links/

With Universal Links enabled, a user will be able to launch directly into the App if it is installed already. At a high level the steps involved are 

1) Enable Universal links in the Adjust dashboard
2) Add Adjust link to associated domains in iOS project
3) Add code to `continueUserActivity` to launch into FxA settings
(Assignee)

Comment 1

a year ago
Quick update, got help from st3fan and was able to get this working.

https://drive.google.com/open?id=0B7MZ5bFBfvpFY3lta3BFNFZUbTA

Some of the main issues I ran into were

1) Incorrect bundle ID in Adjust Universal Link settings
2) Not having correct associated domain entitlement in project settings
3) Accidentally disabling Universal Links per https://support.branch.io/support/solutions/articles/6000153326-ios-universal-links-troubleshooting-guide
4) Adding code to launch FxA from Universal Link, goes through `continueUserActivity` app delegate function. Ref: https://github.com/vbudhram/firefox-ios/tree/test-universal-links

Next steps are to enabled the settings in the production Adjust App and landing code to launch into FxA from link.
(Assignee)

Comment 2

a year ago
Per Adjust support there are no extra steps needed to setup and configure Universal Links. We can follow the same process that we used in the beta version. 

Alex, would you be able to turn on Universal Linking in production app? The bundle id is `org.mozilla.ios.Firefox`, App Id `43AQ936H96` and the scheme is `firefox://`. Once you have enabled this feature, it will generate a shortcode that I would put into the Firefox build profile.
Assignee: nobody → vbudhram
Flags: needinfo?(adavis)
Done. I've attached a screenshot of the preferences for your review.
Flags: needinfo?(adavis)
Created attachment 8879340 [details]
Screen Shot 2017-06-19 at 4.59.20 PM.png

Adjust Universal Deep Link Preferences
(Assignee)

Comment 5

a year ago
Created attachment 8880898 [details] [review]
Adds the updated adjust applink for universal links.

This PR adds the new applink for production Adjust and ability to launch FxA from `continueUserActivity`.
Attachment #8880898 - Flags: review?(sarentz)
tracking-fxios: --- → 8.0+
Priority: -- → P1
Whiteboard: [MobileCore][needsuplift]
Comment on attachment 8880898 [details] [review]
Adds the updated adjust applink for universal links.

LGTM
Attachment #8880898 - Flags: review?(sarentz) → review+
Landed on master, uplifted to v8.x
Status: NEW → RESOLVED
Last Resolved: a year ago
Resolution: --- → FIXED
Whiteboard: [MobileCore][needsuplift] → [MobileCore
Whiteboard: [MobileCore → [MobileCore]
You need to log in before you can comment on or make changes to this bug.