Skip to content

fix(react-native): adapt Android bridge to CheckoutListener rename#155

Merged
kieran-osgood-shopify merged 1 commit into
mainfrom
kieran-osgood/05-19-fixrnandroidbridgechecklistenerrename
May 19, 2026
Merged

fix(react-native): adapt Android bridge to CheckoutListener rename#155
kieran-osgood-shopify merged 1 commit into
mainfrom
kieran-osgood/05-19-fixrnandroidbridgechecklistenerrename

Conversation

@kieran-osgood-shopify
Copy link
Copy Markdown
Contributor

@kieran-osgood-shopify kieran-osgood-shopify commented May 19, 2026

What changes are you making?

react native android CI was failing after #132 merged because it didn't run CI for react-native
This PR renames the android portion to match the new naming of the event processor
image

How to test


Before you merge

Important

  • I've added tests to support my implementation
  • I have read and agree with the Contribution Guidelines
  • I have read and agree with the Code of Conduct
  • I've updated the relevant platform README (platforms/swift/README.md and/or platforms/android/README.md)

Releasing a new Swift version?
  • I have bumped the version in ShopifyCheckoutKit.podspec
  • I have bumped the version in platforms/swift/Sources/ShopifyCheckoutKit/ShopifyCheckoutKit.swift
  • I have updated platforms/swift/CHANGELOG.md
  • I have updated the SwiftPM/CocoaPods version snippets in platforms/swift/README.md (major version only)
Releasing a new Android version?
  • I have bumped the versionName in platforms/android/lib/build.gradle
  • I have updated platforms/android/CHANGELOG.md
  • I have updated the Gradle/Maven version snippets in platforms/android/README.md

Tip

See the Contributing documentation for the full release process per platform.

PR #132 renamed DefaultCheckoutEventProcessor -> DefaultCheckoutListener
and dropped onCheckoutCompleted from the listener. RN bridge wasn't
updated alongside, breaking RN CI on main.

Renames CustomCheckoutEventProcessor -> CustomCheckoutListener, swaps
the parent class, drops the now-invalid onCheckoutCompleted override and
its sample-test counterpart. iOS BridgeDelegate wiring deferred to a
follow-up.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Copy link
Copy Markdown
Contributor Author

kieran-osgood-shopify commented May 19, 2026

@github-actions
Copy link
Copy Markdown

React Native — Coverage Report

Lines Statements Branches Functions
Coverage: 95%
95.52% (192/201) 92.3% (108/117) 100% (60/60)

@kieran-osgood-shopify kieran-osgood-shopify marked this pull request as ready for review May 19, 2026 15:39
@kieran-osgood-shopify kieran-osgood-shopify requested a review from a team as a code owner May 19, 2026 15:39
@kieran-osgood-shopify kieran-osgood-shopify merged commit e1cf4b5 into main May 19, 2026
18 checks passed
Copy link
Copy Markdown
Contributor Author

Merge activity

@kieran-osgood-shopify kieran-osgood-shopify deleted the kieran-osgood/05-19-fixrnandroidbridgechecklistenerrename branch May 19, 2026 15:50
@kieran-osgood-shopify kieran-osgood-shopify added the #gsd:50662 Rebase Checkout Kit on UCP label May 19, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

#gsd:50662 Rebase Checkout Kit on UCP

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants