Create Universal Links for iOS Apps
2019-06-11
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, iOS users can tap a link on a website or in an email, and get redirected to your app immediately without opening the link in Safari.
To prepare your app to support universal links, you will create a new (or modify an existing) app ID on Apple Developer Portal, modify the application definition on SAP Cloud Platform mobile service for development and operations, and modify the app’s entitlements in Xcode.
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 MyProductApp
app created in tutorial Create a Sample App. If you want to follow this tutorial to the letter, make sure you have finished creating the MyProductApp
app.
Prerequisites
- Tutorials:
- Get a Free Trial Account on SAP Cloud Platform
- Enable SAP Cloud Platform Mobile Services
- Install the SAP Cloud Platform SDK for iOS
- Configure Mobile Services in the iOS Assistant
- Create a Sample iOS App
- Development environment: Apple iMac, MacBook or MacBook Pro running Xcode 10 or higher
- SAP Cloud Platform SDK for iOS: Version 3.0 SP01
-
Step 1: Register the app on Apple Developer Portal
-
Step 2: Confirm the new App ID
-
Step 3: Define application link on SAP Cloud Platform
-
Step 4: Enable Associated Domains capability to your app
-
Step 5: Build and deploy the app
-
Step 6: Check the AASA file
-
Step 7: Process the universal link context
-
Step 8: Try the universal link
- Back to Top