Add React Native checkout preloading#343
Merged
Merged
Conversation
tiagocandido
marked this pull request as ready for review
June 25, 2026 12:37
Package Size
Measured from the PR base SHA and PR head SHA. This comment reports package artifact sizes only; it is not a final app binary-size report. |
markmur
approved these changes
Jun 25, 2026
markmur
left a comment
Contributor
There was a problem hiding this comment.
Looks like we just need to check if preloading is enabled before calling the preload method, and add a test for the case but looks good otherwise 👍
kiftio
approved these changes
Jun 25, 2026
tiagocandido
force-pushed
the
feat/react-native-preload
branch
3 times, most recently
from
June 25, 2026 14:51
8d2d373 to
5ef28cb
Compare
Contributor
Author
Done — preload() now checks the preloading config before calling native preload, and there’s coverage for the disabled case. |
tiagocandido
force-pushed
the
feat/react-native-preload
branch
2 times, most recently
from
June 25, 2026 16:31
471c220 to
bb93a87
Compare
tiagocandido
force-pushed
the
feat/react-native-preload
branch
2 times, most recently
from
June 26, 2026 15:10
a07080b to
86cbecb
Compare
tiagocandido
force-pushed
the
feat/react-native-preload
branch
from
June 29, 2026 10:08
86cbecb to
f44225a
Compare
tiagocandido
enabled auto-merge (squash)
June 29, 2026 10:25
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What changes are you making?
Adds React Native APIs and sample wiring for checkout preloading.
This exposes preload and cache invalidation through the React Native module, forwards the configuration flag to native SDKs, and updates the sample app to preload from the cart screen while invalidating when cart state changes.
How to test
dev rn test jsdev rn api checkdev rn test androiddev rn lintdev rn test iosBefore you merge
Important
platforms/swift/README.mdand/orplatforms/android/README.md)Releasing a new Swift version?
ShopifyCheckoutKit.podspecplatforms/swift/Sources/ShopifyCheckoutKit/ShopifyCheckoutKit.swiftplatforms/swift/CHANGELOG.mdplatforms/swift/README.md(major version only)Releasing a new Embedded Checkout Protocol version?
embeddedCheckoutProtocolAndroidinplatforms/android/gradle/libs.versions.tomlprotocol/languages/kotlin/embedded-checkout-protocol/api/embedded-checkout-protocol.apiif the public API changedReleasing a new Android version?
checkoutKitAndroidinplatforms/android/gradle/libs.versions.tomlplatforms/android/CHANGELOG.mdplatforms/android/README.mdTip
See the Contributing documentation for the full release process per platform.