Create Universal Links for iOS Apps
2020-02-19
Intermediate
25 min.
Modify an SAP Cloud Platform SDK for iOS app to accept universal links. This allows users to navigate to your app via a URL sent by email or from a website.
You will learn
In this tutorial, you will learn how to create universal links for use in an iOS app created using the SAP Cloud Platform SDK for iOS Assistant. With universal links, you can link to content inside your app or website in iOS 9 or later.
Prerequisites
- Tutorials: Get a Free Trial Account on SAP Cloud Platform and Enable SAP Cloud Platform Mobile Services
- Development environment: Apple Mac running macOS Catalina or higher with Xcode 11 or higher
- SAP Cloud Platform SDK for iOS: Version 4.0.10
To prepare your app to support universal links, you will learn two different ways to create a new (or modify an existing) app ID. You will then modify the application definition on SAP Cloud Platform Mobile Services.
For this tutorial, you can use any iOS app you have previously created with the SAP Cloud Platform SDK for iOS Assistant. However, the screenshots and parameters used in this tutorial are taken from the TutorialApp
app created in tutorial Create a Sample App.
Universal Links for Developers
Step 1: Setup Your App for Universal Links
Step 2: Define a new Application Link on SAP Cloud Platform Mobile Services
Step 3: Add Associated Domains to your app
Step 4: Build and run the app
Step 5: Check the AASA file
Step 6: Process the universal link context
Step 7: Try the universal link
Navigate tutorial steps
-
Step 1: Setup Your App for Universal Links
-
Step 2: Define a new Application Link on SAP Cloud Platform Mobile Services
-
Step 3: Add Associated Domains to your app
-
Step 4: Build and run the app
-
Step 5: Check the AASA file
-
Step 6: Process the universal link context
-
Step 7: Try the universal link
- Back to Top