Skip to content

Align onDeferredPurchaseCompleted param name with sandwich (purchaseResult)#64

Merged
NickSxti merged 1 commit into
developfrom
nch/align-deferred-purchase-param-name
Jun 11, 2026
Merged

Align onDeferredPurchaseCompleted param name with sandwich (purchaseResult)#64
NickSxti merged 1 commit into
developfrom
nch/align-deferred-purchase-param-name

Conversation

@NickSxti

Copy link
Copy Markdown
Contributor

One-line rename of the listener override param transaction -> purchaseResult, matching qonversion/sandwich-sdk#319 (merged). Without this, the next sandwich bump past 7.9.1 makes Kotlin emit the supertype param-name mismatch warning on every consumer build (the same class of warning reported in qonversion/react-native-sdk#439). react-native-sdk and flutter-sdk already use purchaseResult in their overrides.

No behavior change: the only call site is positional inside sandwich, and the event payload is a QPurchaseResult map, so the new name is also semantically correct.

🤖 Generated with Claude Code

…esult)

Sandwich-sdk renames the QonversionEventsListener supertype param from
transaction to purchaseResult (qonversion/sandwich-sdk#319). Renaming the
override here keeps the names matched so the Kotlin
PARAMETER_NAME_CHANGED_ON_OVERRIDE warning does not appear once the
sandwich dependency is bumped past 7.9.1. The payload is a QPurchaseResult
map (status/entitlements/error/source), so the new name is also the
accurate one.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@NickSxti NickSxti merged commit 665f4fc into develop Jun 11, 2026
1 check passed
@NickSxti NickSxti deleted the nch/align-deferred-purchase-param-name branch June 11, 2026 16:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants