Back to results for “HTTPS”
Flutter › Deep Linking in Flutter

What is the difference between a custom URL scheme deep link, such as myapp://, and a universal link or Android app link that uses a standard https:// web address?

Beginner

Answer

A custom URL scheme deep link uses your own unique made up scheme, such as myapp://, which only actually works correctly if the target app is already installed on the device, and otherwise typically just fails silently with no fallback, whereas a universal link on iOS or an app link on Android uses a completely standard https address that already properly resolves to your actual website in a normal browser, but is additionally specially configured to instead open directly within your native app when it is installed, providing a much better and more graceful fallback experience for users who do not yet actually have the app installed.
// Universal link configuration requires hosting a special file
https://myapp.com/.well-known/apple-app-site-association
Real-world example A company chooses universal links over a simple custom URL scheme specifically so that a shared product link still gracefully opens their actual mobile website in a browser for users who have not yet installed their native app, rather than the link simply failing to do anything at all.

Common follow-ups: What specific server side configuration files are required to properly support universal links and app links?;Can an app support both a custom URL scheme and universal links at the same time?