App Clip SDK integration

The developer routes the user to the correct activity using the invocation URL (the QR code, NFC tag, etc. that invokes the App Clip).

To add the SDK to the App Clip and route the user:

  1. Add the SDK to your App Clip
  2. Retrieve your dev key
  3. Configure the SDK in app delegate
  4. Initialize the SDK
  5. Add support for scene delegate
  6. In the Information Property List (info.plist file), add the following row with the key and value as detailed in the following table.
  1. Add the following code to sceneDelegate:
func scene(_ scene: UIScene, continue userActivity: NSUserActivity) {
    // Must for AppsFlyer attrib
    AppsFlyerLib.shared().continue(userActivity, restorationHandler: nil)
func scene(_ scene: UIScene, willConnectTo session: UISceneSession, options connectionOptions: UIScene.ConnectionOptions) {
    guard let _ = (scene as? UIWindowScene) else { return }
    if let userActivity = connectionOptions.userActivities.first {
       self.scene(scene, continue: userActivity)

⇲ Github links: Swift

Updated 7 months ago

App Clip SDK integration

Suggested Edits are limited on API Reference Pages

You can only suggest edits to Markdown body content, but not to the API spec.