Braintree Android SDK Dependencies

May 14, 2026 · View on GitHub

This document lists the runtime dependencies (both internal module dependencies and third-party libraries) for each module in the Braintree Android SDK. For most dependency versions, see gradle/libs.versions.toml. Exception: the Magnes SDK is a bundled JAR in DataCollector/libs/.

Key Third-Party Libraries

LibraryModule(s)
browser-switchBraintreeCore
Cardinal Mobile SDKThreeDSecure
Google Play Services WalletGooglePay
PayPal MessagingPayPalMessaging
OkHttpSharedUtils
Magnes SDKDataCollector
AccompanistUIComponents

browser-switch Dependencies

com.braintreepayments.api:browser-switch:3.5.1 is declared as a dependency of BraintreeCore. Its own runtime dependencies are:

DependencyVersion
androidx.annotation:annotation1.7.0
androidx.appcompat:appcompat1.6.0
androidx.browser:browser1.10.0-alpha02

Per-Module Dependencies

BraintreeCore

DependencyVersion
:SharedUtils
com.braintreepayments.api:browser-switch3.5.1
org.jetbrains.kotlinx:kotlinx-coroutines-core1.7.1
androidx.appcompat:appcompat1.6.0
androidx.work:work-runtime2.8.1
androidx.core:core-ktx1.12.0
androidx.room:room-runtime2.6.1
org.jetbrains.kotlin:kotlin-stdlib1.9.10

Card

DependencyVersion
:BraintreeCore
androidx.annotation:annotation1.7.0
org.jetbrains.kotlinx:kotlinx-coroutines-core1.7.1

PayPal

DependencyVersion
:BraintreeCore
:DataCollector
androidx.appcompat:appcompat1.6.0

Venmo

DependencyVersion
:BraintreeCore
androidx.appcompat:appcompat1.6.0

GooglePay

DependencyVersion
:BraintreeCore
:PayPal
:Card
com.google.android.gms:play-services-wallet19.4.0
androidx.appcompat:appcompat1.6.0

ThreeDSecure

DependencyVersion
:BraintreeCore
:Card
org.jfrog.cardinalcommerce.gradle:cardinalmobilesdk2.2.7-7
androidx.appcompat:appcompat1.6.0
androidx.lifecycle:lifecycle-runtime2.6.2

AmericanExpress

DependencyVersion
:BraintreeCore
androidx.annotation:annotation1.7.0
org.jetbrains.kotlinx:kotlinx-coroutines-core1.7.1

DataCollector

DependencyVersion
:BraintreeCore
android-magnessdk (bundled JAR)5.6.0
androidx.annotation:annotation1.7.0

LocalPayment

DependencyVersion
:BraintreeCore
:DataCollector
androidx.appcompat:appcompat1.6.0

SEPADirectDebit

DependencyVersion
:BraintreeCore
androidx.appcompat:appcompat1.6.0

ShopperInsights

DependencyVersion
:BraintreeCore
androidx.core:core-ktx1.12.0

PayPalMessaging

DependencyVersion
:BraintreeCore
com.paypal.messages:paypal-messages1.1.13
androidx.appcompat:appcompat1.6.0
androidx.core:core-ktx1.12.0
org.jetbrains.kotlin:kotlin-stdlib1.9.10

UIComponents

DependencyVersion
:BraintreeCore
:PayPal
:Venmo
com.google.accompanist:accompanist-drawablepainter0.37.3
androidx.activity:activity-compose1.12.0
androidx.lifecycle:lifecycle-viewmodel-compose2.5.1
androidx.datastore:datastore-preferences1.2.0
androidx.compose:compose-bom2025.06.01
androidx.compose.material3:material31.3.2 (BOM-managed)
androidx.compose.ui:ui-tooling-preview1.9.2 (BOM-managed)
androidx.compose.animation:animation-graphics1.8.3 (BOM-managed)
androidx.appcompat:appcompat1.6.0
androidx.core:core-ktx1.12.0

SharedUtils

DependencyVersion
com.squareup.okhttp3:okhttp4.12.0
androidx.annotation:annotation1.7.0
org.jetbrains.kotlin:kotlin-stdlib1.9.10
org.jetbrains.kotlinx:kotlinx-coroutines-core1.7.1