Skip to content

Commit

Permalink
Merge pull request #1789 from Adyen/fix/analytics-setup-cash-app
Browse files Browse the repository at this point in the history
Pass drop-in AnalyticsManager correctly to CashAppComponent
  • Loading branch information
OscarSpruit authored Sep 12, 2024
2 parents e2b50c1 + 973f2cd commit 2a6d1f8
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ internal fun getComponentFor(
}

checkCompileOnly { CashAppPayComponent.PROVIDER.isPaymentMethodSupported(storedPaymentMethod) } -> {
CashAppPayComponentProvider(dropInOverrideParams).get(
CashAppPayComponentProvider(dropInOverrideParams, analyticsManager).get(
fragment = fragment,
storedPaymentMethod = storedPaymentMethod,
checkoutConfiguration = checkoutConfiguration,
Expand Down Expand Up @@ -240,7 +240,7 @@ internal fun getComponentFor(
}

checkCompileOnly { CashAppPayComponent.PROVIDER.isPaymentMethodSupported(paymentMethod) } -> {
CashAppPayComponentProvider(dropInOverrideParams).get(
CashAppPayComponentProvider(dropInOverrideParams, analyticsManager).get(
fragment = fragment,
paymentMethod = paymentMethod,
checkoutConfiguration = checkoutConfiguration,
Expand Down

0 comments on commit 2a6d1f8

Please sign in to comment.