Skip to content

Release/4.3.3 - #51

Merged
StanislavMayorov merged 4 commits into
masterfrom
release/4.3.3
Nov 10, 2026
Merged

StanislavMayorov merged 4 commits into
masterfrom
release/4.3.3

Conversation

@StanislavMayorov

Copy link
Copy Markdown
Collaborator

No description provided.

iOS 4.3.2 codes 2, 1020, 1030, 1050, 1060 (billingPlanUnavailable), 3020
and Android 4.3.x codes 3020, 4104-4107 reached JS with no name: getErrorCode
did not know them and comparing adaptyCode with them was a type error.
ErrorCode becomes KnownErrorCode | (number & {}): known codes still
autocomplete, and comparing adaptyCode with a code that a newer native SDK
sends is no longer a type error. Add isKnownErrorCode, getErrorCodeName and
AdaptyError.codeName; an unknown code is shown as "(unknown code)" instead of
"(undefined)" in the error message, and getErrorPrompt no longer casts.
@StanislavMayorov
StanislavMayorov merged commit 5ecc36a into master Nov 10, 2026
6 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.

1 participant