Opening content directly.
WHAT A UNIVERSAL LINK IS
A standard web address that opens your application if installed, and your website otherwise.
WHY THAT IS PREFERABLE TO A CUSTOM SCHEME
It cannot be claimed by another application, and it works when the application is absent.
WHAT IT REQUIRES
A file hosted on your domain declaring the association An entitlement declaring the domains The file served over an encrypted connection, without redirects
WHAT COMMONLY BREAKS IT
The file not served correctly Redirects Caching, since the system fetches it at install time
WHAT THAT MEANS
Changes may take time to take effect.
WHAT TO TEST
Following a link with the application installed and not installed Following a link from several applications, since behaviour differs
WHAT TO HANDLE IN THE APPLICATION
Reaching any screen directly, with a sensible history behind it Content that no longer exists The user not being signed in
WHAT TO NEVER DO
Trust link parameters without validation.
WHY
They are input, from anywhere.
WHAT TO PROVIDE
A sensible destination when the link cannot be resolved.