From 7c58363b01a184863d3b3fc07ba707a72d76bcda Mon Sep 17 00:00:00 2001 From: Liaz Kamper Date: Sun, 20 Mar 2022 19:44:56 +0200 Subject: [PATCH] Add logInvite --- swift/basic_app/basic_app/DLViewController.swift | 3 +++ 1 file changed, 3 insertions(+) diff --git a/swift/basic_app/basic_app/DLViewController.swift b/swift/basic_app/basic_app/DLViewController.swift index d6e1f93..2faded8 100644 --- a/swift/basic_app/basic_app/DLViewController.swift +++ b/swift/basic_app/basic_app/DLViewController.swift @@ -85,6 +85,9 @@ class DLViewController: UIViewController { DispatchQueue.main.async { self.showToast(message: "Link copied to clipboard", font: .systemFont(ofSize: 12.0)) } + AppsFlyerShareInviteHelper.logInvite("mobile_share", + parameters: ["referrerId": "THIS_USER_ID", + "campaign": "share_invite"]) } else{ print("url is nil")