5.1.0
New
- The BcmcComponent now supports co-badged Bancontact cards and card brand detection.
- The BcmcComponentState now contains 3 extra fields:
cardBrand
,binValue
andlastFourDigits
.
- The BcmcComponentState now contains 3 extra fields:
- You can now override payment method names in Drop-in by using DropInConfiguration.Builder.overridePaymentMethodName(type, name).
- For stored cards, Drop-in now shows the card name (for example Visa or Mastercard) instead of Credit Card.
- Now it is possible to show installment amounts for card payments using InstallmentConfiguration.showInstallmentAmount in CardConfiguration.Builder.setInstallmentConfigurations().
- For gift cards, you can now hide the PIN text field by setting GiftCardConfiguration.Builder.setPinRequired() to false.
- For Google Pay:
- When initializing the Google Pay button, you can now use GooglePayComponent.getGooglePayButtonParameters() to get the
allowedPaymentMethods
attribute. - You can now use AllowedAuthMethods and AllowedCardNetworks to easily access to the possible values for GooglePayConfiguration.Builder.setAllowedAuthMethods() and GooglePayConfiguration.Builder.setAllowedCardNetworks().
- When initializing the Google Pay button, you can now use GooglePayComponent.getGooglePayButtonParameters() to get the
Fixed
- Fixed a bug where components would not be displayed in Jetpack Compose lazy lists.
Changed
- Dependency versions:
Name Version AndroidX Compose Activity 1.8.0 Material Design 1.10.0 Gradle 8.4 Android Gradle plugin 8.1.2 AndroidX Compose BoM 2023.10.01 AndroidX Recyclerview 1.3.2 AndroidX Fragment 1.6.2