Skip to content

Releases: braintree/braintree-android-drop-in

6.1.0

25 May 15:41
Compare
Choose a tag to compare
  • Update Vault Manager inline documentation
  • Add ClientTokenProvider interface for asynchronously fetching client token authorization
  • Add new DropInClient constructors that accept ClientTokenProvider or tokenization key string
  • Deprecate DropInClient constructor that accepts Context in favor of new constructors
  • Bump braintree_android module dependency versions to 4.10.1
  • Bump card-form to 5.4.0

6.0.2

25 Jan 17:55
Compare
Choose a tag to compare
  • Bump braintree_android module dependency versions to 4.8.1

6.0.1

13 Dec 21:08
Compare
Choose a tag to compare
  • Check if BottomSheetPresenter is null before unbinding in BottomSheetFragment (fixes #319)

6.0.0

19 Nov 17:05
Compare
Choose a tag to compare
  • Bump braintree_android module dependency versions to 4.7.0
  • Bump card-form to 5.3.0
  • Localization
    • Add support for Czech, Greek, Finnish, Hebrew, Hungrian, and Slovak localization
  • Venmo
    • Add VenmoRequest setter to DropInRequest
    • Don't show Venmo payment method option when Venmo not installed on device
  • CardForm
    • Focus Cardholder Name field when adding card details if field not disabled (fixes #180)
  • DropInRequest
    • Set explicit class loader for DropInRequest (fixes #191)
    • Wrap DropInRequest in Parcelable bundle (fixes #228)
  • Accessibility
    • Increase color contrast and add content descriptions for screen readers
  • Breaking Changes
    • Language Support
      • Require Java 8 or higher
    • Localization
      • Remove support for Turkish localization
    • Visibility
      • Make BottomSheetState package-private
      • Make DropInEventType package-private
      • Make DropInActivity#onError package-private
      • Make AnimatedButtonView package-private
      • Make PaymentMethodItemView package-private
      • Make SupportedPaymentMethodsViewHolder package-private
      • Make VaultedPaymentMethodSelectedListener package-private
      • Make static strings in DropInClient package-private
      • Make DropInClient#deliverBrowserSwitchResult package-private
      • Make DropInResultCallback package-private
      • Make PaymentMethodDeleteException package-private
    • Venmo
      • Remove vaultVenmo on DropInRequest in favor of setting shouldVault on VenmoRequest
    • DropInPaymentMethod
      • Rename DropInPaymentMethodType to DropInPaymentMethod
    • DropInRequest
      • Remove requestThreeDSecureVerification from DropInRequest

6.0.0-beta2

17 Sep 18:44
Compare
Choose a tag to compare
  • Android 12 Support
    • Bump braintree_android module dependency versions to 4.6.0
    • Upgrade targetSdkVersion and compileSdkVersion to API 31
    • Fix issue where Venmo app is not detected on Android 12 devices
  • Breaking Changes
    • DropInRequest
      • Remove collectDeviceData from DropInRequest in favor of always returning device data on DropInResult

5.3.0

16 Sep 20:19
Compare
Choose a tag to compare
  • Upgrade targetSdkVersion and compileSdkVersion to API 31
  • Bump braintree_android version to 3.18.0

6.0.0-beta1

07 Sep 21:54
Compare
Choose a tag to compare
  • Dependencies
    • Include braintree-core, three-d-secure, paypal, venmo, google-pay, card, data-collector, and union-pay as api
    • Bump card-form to 5.2.0
  • DropInClient
    • Add DropInClient
    • Add DropInResultCallback
    • Add FetchMostRecentPaymentMethodCallback
    • Add GetSupportedCardTypesCallback
  • Fragment Architecture
    • Add SupportedPaymentMethodsFragment
    • Add BottomSheetFragment
    • Add VaultedPaymentMethodSelectedListener
    • Add BottomSheetState
    • Add DropInEventType
    • Add DropInViewModel
    • Add SupportedPaymentMethodsViewHolder
  • Exceptions
    • Add PaymentMethodDeleteException
  • Breaking Changes
    • Dependencies
      • Bump braintree_android module dependency versions to 4.4.1
    • Package Structure
      • Flatten package structure and move all classes to com.braintreepayments.api package
    • DropInRequest
      • Remove clientToken, tokenizationKey, and authorization from DropInRequest in favor of instantiating DropInClient with authorization
      • Remove deprecated amount parameter from DropInRequest
      • Remove intent from DropInRequest
      • Remove builder pattern from DropInRequest
      • Update DropInRequest getter and setter methods to follow consistent naming for Kotlin synthesized properties
    • DropInResult
      • Remove DropInResultListener
      • Remove DropInResult#fetchDropInResult()
      • Make DropInResult constructor package-private
    • PaymentMethodType
      • Rename PaymentMethodType to DropInPaymentMethodType
      • Change DropInPaymentMethodType#getCardTypes() parameter from Set to List
    • DropInActivity
      • Remove ConfigurationListener, PaymentMethodNonceCreatedListener, PaymentMethodNonceUpdatedListener, PaymentMethodSelectedListener, BraintreeErrorListener, BraintreeCancelListener from DropInActivity
      • Replace DropInActivity.EXTRA_ERROR with DropInResult.EXTRA_ERROR
      • Remove BaseActivity
      • Remove onBackPressed, onBackgroundClicked and onVaultEditButtonClicked methods
    • Fragment Architecture
      • Replace VaultManagerActivity with VaultManagerFragment
      • Replace AddCardActivity with AddCardFragment and CardDetailsFragment
    • Adapters
      • Make SupportedPaymentMethodsAdapter package-private
      • Make VaultedPaymentMethodsAdapter package-private
      • Make VaultManagerPaymentMethodsAdapter package-private
    • Listeners
      • Remove AddPaymentUpdateListener
      • Remove AnimationFinishedListener
    • CardViews
      • Remove AddCardView
      • Remove EditCardView
      • Remove EnrollmentCardView

Note: The credentials for integrating with 3DS have changed. If you are using 3DS please update the credentials in your app-level build.gradle

5.2.2

08 Jul 16:06
Compare
Choose a tag to compare
  • Bump braintree_android version to 3.17.4

Note: The credentials for integrating with 3DS have changed. If you are using 3DS please update the credentials in your app-level build.gradle see 3DS Client Side Setup

5.2.1

14 Apr 21:23
Compare
Choose a tag to compare
  • Bump card-form version to 5.1.1

5.2.0

09 Mar 16:32
Compare
Choose a tag to compare
  • Update android-card-form version to 5.1.0 (fixes #212)
  • Fix null pointer crash in BaseActivity#shouldRequestThreeDSecureVerification (fixes #207)
  • Update Visa card icons