Implementation of universal link on iOS9

Source: Internet
Author: User
Tags prepare ssl certificate

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.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.