4.3.0
WARNING
Make sure you explicitly set your LIVE environment on release builds when initializing Drop-in; DropInConfiguration
is now initialized with Environment.TEST
by default instead of Environment.EUROPE
.
Deprecated
saveState
andrestoreState
methods in action components. We rely onSavedStateHandle
in all components and providers so these methods can be safely removed now.requiresConfiguration
method in action component providers. All components require configurations therefore this method will always return true.
Added
- Card component shows a more specific error message when the user enters a card belonging to an unsupported brand.
DropInConfiguration.Builder.setSkipListWhenSinglePaymentMethod
to allow skipping payment methods screen when single payment method exists. This only applies to payment methods that require a component (user input). Redirect payment methods, SDK payment methods, and so on will not be skipped.- Provide
fundingSource
when present in payment methods response. - Support for installments in card component.
Environment.LIVE
, identical to theEnvironment.EUROPE
.
Changed
- Update 3DS2 SDK to version
2.2.5
.
Fixed
- Use
ApplicationInfo.FLAG_DEBUGGABLE
instead ofBuildConfig.DEBUG
to figure out whether it's a debug or release build. NoClassDefFoundError
crash with Card component, if 3DS2 is not included in the project.- Handle Google Pay cancellation and failure callbacks on initialisation.