Skip to content

feat(react-native): use local android/swift project references#115

Open
kieran-osgood-shopify wants to merge 1 commit into
mainfrom
kieran-osgood/05-14-featreact-nativeuselocalandroid/swiftprojectreferences
Open

feat(react-native): use local android/swift project references#115
kieran-osgood-shopify wants to merge 1 commit into
mainfrom
kieran-osgood/05-14-featreact-nativeuselocalandroid/swiftprojectreferences

Conversation

@kieran-osgood-shopify
Copy link
Copy Markdown
Contributor

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

What changes are you making?

Adds a --local flag to the react native ios and android commands

Usage:
dev rn android --local
dev rn ios --local

This will configure the native code to point to the local platforms/ios/ and platforms/android` directory, instead of the published maven and cocoapods versions.

This enables a local development feedback loop without waiting for publishes for react native.

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.

Copy link
Copy Markdown
Contributor Author

kieran-osgood-shopify commented May 14, 2026

@github-actions
Copy link
Copy Markdown

github-actions Bot commented May 14, 2026

React Native — Coverage Report

Lines Statements Branches Functions
Coverage: 98%
98.53% (202/205) 94.91% (112/118) 100% (61/61)

@kieran-osgood-shopify kieran-osgood-shopify added the #gsd:50662 Rebase Checkout Kit on UCP label May 14, 2026
@kieran-osgood-shopify kieran-osgood-shopify force-pushed the kieran-osgood/05-14-featreact-nativeuselocalandroid/swiftprojectreferences branch from 06f977e to 9863b61 Compare May 14, 2026 18:04
@kieran-osgood-shopify kieran-osgood-shopify changed the base branch from kieran-osgood/05-14-featprotocoladdtypescriptinterfaces to graphite-base/115 May 14, 2026 18:26
@kieran-osgood-shopify kieran-osgood-shopify force-pushed the kieran-osgood/05-14-featreact-nativeuselocalandroid/swiftprojectreferences branch from 9863b61 to f84aa0f Compare May 14, 2026 18:27
@graphite-app graphite-app Bot changed the base branch from graphite-base/115 to main May 14, 2026 18:27
@kieran-osgood-shopify kieran-osgood-shopify force-pushed the kieran-osgood/05-14-featreact-nativeuselocalandroid/swiftprojectreferences branch 2 times, most recently from 8f6af8c to 9d68bbe Compare May 14, 2026 19:13

def useLocalSdk = (System.getenv("USE_LOCAL_SDK") ?: "0") == "1"
def shopifySdkArtifact = useLocalSdk
? "com.shopify:checkout-kit:1.0.0"
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this version doesn't matter as its just using local so it accepts anything

@kieran-osgood-shopify kieran-osgood-shopify force-pushed the kieran-osgood/05-14-featreact-nativeuselocalandroid/swiftprojectreferences branch from 9d68bbe to 193682d Compare May 14, 2026 19:23
@kieran-osgood-shopify kieran-osgood-shopify marked this pull request as ready for review May 14, 2026 21:27
@kieran-osgood-shopify kieran-osgood-shopify requested a review from a team as a code owner May 14, 2026 21:27
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.

1 participant