MoneyHash Android SDK 3.x Migration Guide
This document outlines the breaking changes, new features, and the migration steps required to upgrade your integration to version 3.x.x of the MoneyHash Android SDK.
New Intent State: Processing
Processing
A new intent state has been added to improve tracking and control during the lifecycle of an intent:
object Processing : IntentStateDetails()
Purpose:
This state represents that the intent is currently being processed and can be useful when waiting for a confirmation or external interaction to complete.
Update your state handling logic (e.g.,
when
orswitch
statements) to support this new state to avoid runtime issues.
Card Number Validation Configuration
The CardFormConfiguration
now includes a property to enable or disable card number validation before submission.
Updated API
val config = CardFormConfiguration(
isCardHolderNameRequired = false,
enableCardNumberValidation = true
)
Behavior:
enableCardNumberValidation = true
(default): Card numbers will be validated before submission.false
: Skips built-in validation — you can handle it yourself if needed.
This gives developers flexibility over form validation logic, especially for custom UI or edge cases.
Migration Steps
- Update your
CardFormConfiguration
to control card number validation if needed. - Update intent state handling logic to support the new
Processing
state..
Updated about 1 month ago