Skip to content

Release - #50

Closed
StanislavMayorov wants to merge 3 commits into
masterfrom
dev
Closed

StanislavMayorov wants to merge 3 commits into
masterfrom
dev

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.

This branch was successfully deployed

1 active deployment
publish — e9113966 Deployed Nov 5, 2026 by StanislavMayorov via Publish Package #70
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