Releases: braintree/braintree-android-drop-in
Releases · braintree/braintree-android-drop-in
6.1.0
- Update Vault Manager inline documentation
- Add
ClientTokenProvider
interface for asynchronously fetching client token authorization - Add new
DropInClient
constructors that acceptClientTokenProvider
or tokenization key string - Deprecate
DropInClient
constructor that acceptsContext
in favor of new constructors - Bump braintree_android module dependency versions to
4.10.1
- Bump
card-form
to5.4.0
6.0.2
- Bump braintree_android module dependency versions to
4.8.1
6.0.1
6.0.0
- Bump braintree_android module dependency versions to
4.7.0
- Bump
card-form
to5.3.0
- Localization
- Add support for Czech, Greek, Finnish, Hebrew, Hungrian, and Slovak localization
- Venmo
- Add
VenmoRequest
setter toDropInRequest
- Don't show Venmo payment method option when Venmo not installed on device
- Add
- CardForm
- Focus Cardholder Name field when adding card details if field not disabled (fixes #180)
- DropInRequest
- 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
- Make
- Venmo
- Remove
vaultVenmo
onDropInRequest
in favor of settingshouldVault
onVenmoRequest
- Remove
- DropInPaymentMethod
- Rename
DropInPaymentMethodType
toDropInPaymentMethod
- Rename
- DropInRequest
- Remove
requestThreeDSecureVerification
fromDropInRequest
- Remove
- Language Support
6.0.0-beta2
- Android 12 Support
- Bump braintree_android module dependency versions to
4.6.0
- Upgrade
targetSdkVersion
andcompileSdkVersion
to API 31 - Fix issue where Venmo app is not detected on Android 12 devices
- Bump braintree_android module dependency versions to
- Breaking Changes
- DropInRequest
- Remove
collectDeviceData
fromDropInRequest
in favor of always returning device data onDropInResult
- Remove
- DropInRequest
5.3.0
6.0.0-beta1
- Dependencies
- Include
braintree-core
,three-d-secure
,paypal
,venmo
,google-pay
,card
,data-collector
, andunion-pay
as api - Bump
card-form
to5.2.0
- Include
- DropInClient
- Add
DropInClient
- Add
DropInResultCallback
- Add
FetchMostRecentPaymentMethodCallback
- Add
GetSupportedCardTypesCallback
- Add
- Fragment Architecture
- Add
SupportedPaymentMethodsFragment
- Add
BottomSheetFragment
- Add
VaultedPaymentMethodSelectedListener
- Add
BottomSheetState
- Add
DropInEventType
- Add
DropInViewModel
- Add
SupportedPaymentMethodsViewHolder
- Add
- Exceptions
- Add
PaymentMethodDeleteException
- Add
- Breaking Changes
- Dependencies
- Bump braintree_android module dependency versions to
4.4.1
- Bump braintree_android module dependency versions to
- Package Structure
- Flatten package structure and move all classes to
com.braintreepayments.api
package
- Flatten package structure and move all classes to
- DropInRequest
- Remove
clientToken
,tokenizationKey
, andauthorization
fromDropInRequest
in favor of instantiatingDropInClient
with authorization - Remove deprecated
amount
parameter fromDropInRequest
- Remove
intent
fromDropInRequest
- Remove builder pattern from
DropInRequest
- Update
DropInRequest
getter and setter methods to follow consistent naming for Kotlin synthesized properties
- Remove
- DropInResult
- Remove
DropInResultListener
- Remove
DropInResult#fetchDropInResult()
- Make
DropInResult
constructor package-private
- Remove
- PaymentMethodType
- Rename
PaymentMethodType
toDropInPaymentMethodType
- Change
DropInPaymentMethodType#getCardTypes()
parameter fromSet
toList
- Rename
- DropInActivity
- Remove
ConfigurationListener
,PaymentMethodNonceCreatedListener
,PaymentMethodNonceUpdatedListener
,PaymentMethodSelectedListener
,BraintreeErrorListener
,BraintreeCancelListener
fromDropInActivity
- Replace
DropInActivity.EXTRA_ERROR
withDropInResult.EXTRA_ERROR
- Remove
BaseActivity
- Remove
onBackPressed
,onBackgroundClicked
andonVaultEditButtonClicked
methods
- Remove
- Fragment Architecture
- Replace
VaultManagerActivity
withVaultManagerFragment
- Replace
AddCardActivity
withAddCardFragment
andCardDetailsFragment
- Replace
- Adapters
- Make
SupportedPaymentMethodsAdapter
package-private - Make
VaultedPaymentMethodsAdapter
package-private - Make
VaultManagerPaymentMethodsAdapter
package-private
- Make
- Listeners
- Remove
AddPaymentUpdateListener
- Remove
AnimationFinishedListener
- Remove
- CardViews
- Remove
AddCardView
- Remove
EditCardView
- Remove
EnrollmentCardView
- Remove
- Dependencies
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
- 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