From 33ebd8b67f99e1e629b745c3507be46b4a3d90e0 Mon Sep 17 00:00:00 2001 From: Jax DesMarais-Leder Date: Thu, 19 Dec 2024 09:12:34 -0600 Subject: [PATCH] update init in sample apps --- SampleApps/CarthageTest/CarthageTest/ViewController.swift | 5 ++++- SampleApps/SPMTest/SPMTest/ViewController.swift | 5 ++++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/SampleApps/CarthageTest/CarthageTest/ViewController.swift b/SampleApps/CarthageTest/CarthageTest/ViewController.swift index 748b3f2a4..9e369e5dc 100644 --- a/SampleApps/CarthageTest/CarthageTest/ViewController.swift +++ b/SampleApps/CarthageTest/CarthageTest/ViewController.swift @@ -24,7 +24,10 @@ class ViewController: UIViewController { let payPalClient = BTPayPalClient(apiClient: apiClient) let payPalMessagingView = BTPayPalMessagingView(apiClient: apiClient) let threeDSecureClient = BTThreeDSecureClient(apiClient: apiClient) - let venmoClient = BTVenmoClient(apiClient: apiClient) + let venmoClient = BTVenmoClient( + apiClient: apiClient, + universalLink: URL(string: "https://mobile-sdk-demo-site-838cead5d3ab.herokuapp.com/braintree-payments")! + ) let sepaDirectDebitClient = BTSEPADirectDebitClient(apiClient: apiClient) } } diff --git a/SampleApps/SPMTest/SPMTest/ViewController.swift b/SampleApps/SPMTest/SPMTest/ViewController.swift index 3232545c2..b1525c84a 100644 --- a/SampleApps/SPMTest/SPMTest/ViewController.swift +++ b/SampleApps/SPMTest/SPMTest/ViewController.swift @@ -24,7 +24,10 @@ class ViewController: UIViewController { let payPalClient = BTPayPalClient(apiClient: apiClient) let payPalMessagingView = BTPayPalMessagingView(apiClient: apiClient) let threeDSecureClient = BTThreeDSecureClient(apiClient: apiClient) - let venmoClient = BTVenmoClient(apiClient: apiClient) + let venmoClient = BTVenmoClient( + apiClient: apiClient, + universalLink: URL(string: "https://mobile-sdk-demo-site-838cead5d3ab.herokuapp.com/braintree-payments")! + ) let sepaDirectDebitClient = BTSEPADirectDebitClient(apiClient: apiClient) } }