Skip to content

Conversation

@cesar-sosa-hol
Copy link
Collaborator

This PR upgrades native Android and iOS SDKs

Android: 2.3.4
iOS: 2.3.1
image

val processingMode = convertToProcessingMode(getIntOrNull("processingMode"))
requireNotNull(amountMoney) { "Amount money is required" }
requireNotNull(processingMode) { "processingMode is required" }
val allowCardSurcharge = getBooleanOrNull("allowCardSurcharge") ?: false

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We should be making this a required field. I know iOS has a default, but I believe the idea was to make it required. @shauna-kimura thoughts?

// Required
amountMoney: Money;
processingMode: Number;
allowCardSurcharge?: Boolean; //required for Android

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ohh does this make it required only for android?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yes it is

@cesar-sosa-hol cesar-sosa-hol merged commit 2e7a838 into main Nov 24, 2025
7 of 9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants