Added
- Support for Pix payment method.
QRCodeComponentto handle action typeqrCodefrom payment methodpix.- Support for other payment methods with a qrCode action will be added in the future.
- Support for returning
returnUrlQueryStringfrom redirect URL for some redirect payment methods like Swish.
Changed
- New releases are now published to Maven Central
- A
Configurationobject is now required when initializing any component. Action Components did not require it previously. - Provided default
GooglePayConfigurationandCardConfigurationin Drop-in. It's not required to manually set these configurations inDropInConfiguration.Builderanymore. - The default Google Pay environment will automatically follow the Adyen environment. It will be initialized as
ENVIRONMENT_TESTwhen using Adyen'sTESTenvironment, otherwise it will be set toENVIRONMENT_PRODUCTION. - The
merchantAccountparameter inGooglePayConfiguration.Builderis now optional. You can remove it from the builder constructor, or useGooglePayConfiguration.Builder.setMerchantAccountif you need to pass it manually. - Updated 3DS2 SDK to version 2.2.2
- Updated Material Components dependency to 1.3.0.
- Screenshots are now allowed in Debug builds, when the Card component is displayed.
Fixed
- Passing
threeDSRequestorAppURLto the SDK in the 3DS2 Component only when protocol version is 2.2.0 or higher since this is not expected in 2.1.0 - Style in TextInputLayout where in some scenarios text color would be too light and hard to see.
Removed
WeChatPayComponentsince it didn't have any function. Instead you can simply check if the App is available by calling:WeChatPayProvider.isAvailable.PaymentComponentProvider.isAvailablesince most payment methods are always available. Replaced it withPaymentMethodAvailabilityCheck, only implemented for methods that need to check for availability.