1.Universal Link
Understand that Apple officially supports Deeplink.
2. Start the app by clicking on the HTTP link
Web iOS application in support of universal link, when the user clicks on the characteristics of the link will start their own application
app has been installed under the premise of the direct launch of the app and then reality link content
app without installation: Continue to display linked content on the web
The realization method of 3.Universal link
First you need to prepare the content
Web server
• Independent Domain
SSL Certificate
• Signed JSON file
iOS applications
iOS9 above
Xcode 7 iOS 9 SDK
Capabilities
Proxy settings for appdelegate
Settings for 3.1 capabilities
In capabilities settings, set the Domains content of ' associated Domains '
Example: https://www.facebook.com/-> applinks:facebook.com
Note: For subdomain,www have to think carefully about
Configuration of 3.2 apple-app-site-association files
Apple-app-site-association files must be placed in the root directory of the server ...
First, we need to prepare the Apple-app-site-association file.
1 2 3 4 5 6 7 8 9 10 |
{"Applinks": {"apps": [], "details": {"TBEJCS6FFP.com.domain.App": {"Paths": ["*" ] } } } } |
Content in paths for app-initiated link path
Use "*" when full path is used.
Specific content needs to be specified at a particular location,
1 |
["/wwdc/news/",/videos/wwdc/2015/*] |
TBEJCS6FFP.COM.DOMAIN.APP This part uses your teamid and bundle Identifier.
3.3 Signature of the Apple-app-site-association file
I'm using the following method to sign the apple-app-site-association.