Skip to content

Migrate React Native sample to Expo prebuild#297

Draft
kieran-osgood-shopify wants to merge 6 commits into
mainfrom
cx-expo-prebuild-migration
Draft

Migrate React Native sample to Expo prebuild#297
kieran-osgood-shopify wants to merge 6 commits into
mainfrom
cx-expo-prebuild-migration

Conversation

@kieran-osgood-shopify

@kieran-osgood-shopify kieran-osgood-shopify commented Jun 18, 2026

Copy link
Copy Markdown
Contributor

Summary

Lockfile maintenance doing some work on the git diff here
image

  • migrate the React Native sample to Expo 56 prebuild/dev-client
  • move native bridge tests out of generated sample native directories into module-owned locations
  • replace sample-only native dependencies with Expo APIs/packages
  • delete committed generated sample native projects and add a unified dev rn prebuild command with --local support
  • align Expo dependency versions with expo install --check where the Shopify package proxy has the recommended version available
  • remove redundant direct React Native CLI/dev dependencies and legacy mocks

Validation

  • dev rn prebuild android --local
  • dev rn prebuild ios --local
  • dev rn test android without USE_LOCAL_SDK
  • dev rn test js
  • dev rn lint
  • pnpm exec expo install --check from platforms/react-native/sample
  • pnpm dlx expo-doctor from platforms/react-native/sample was attempted; remaining failures are from expo-doctor shelling out to npm explain, which is blocked by the workspace npm wrapper/minimum dependency age enforcement under shadowenv
  • git diff --check

Notes

  • This intentionally stops before CI/docs follow-up work.
  • Generated platforms/react-native/sample/ios and platforms/react-native/sample/android are ignored and regenerated via Expo prebuild.
  • expo, expo-build-properties, and expo-font are pinned to the newest SDK 56 versions currently available through the Shopify package proxy, and are excluded from Expo dependency validation until the proxy catches up to Expo's latest recommendations.
  • dev rn test ios now runs without USE_LOCAL_SDK; local validation got as far as the CocoaPods fixture xcodebuild invocation, then failed because the current simulator UUID from the environment was unavailable.

Copy link
Copy Markdown
Contributor Author

This stack of pull requests is managed by Graphite. Learn more about stacking.

@kieran-osgood-shopify kieran-osgood-shopify force-pushed the cx-expo-prebuild-migration branch 4 times, most recently from fed581f to 525dc82 Compare June 19, 2026 13:23
@kieran-osgood-shopify kieran-osgood-shopify added the #gsd:50662 Rebase Checkout Kit on UCP label Jun 19, 2026
@kieran-osgood-shopify kieran-osgood-shopify force-pushed the cx-expo-prebuild-migration branch from 525dc82 to 05aecba Compare June 19, 2026 15:13
Assisted-By: devx/fb34cb30-8090-438b-b735-1d8f8eb128a6
Assisted-By: devx/741457bb-fda8-43d5-b35b-2e08c409a2fe
Assisted-By: devx/2d0344dc-43dd-4535-baf2-409ff9e93de5
@kieran-osgood-shopify kieran-osgood-shopify force-pushed the cx-expo-prebuild-migration branch from 05aecba to 80fa209 Compare June 19, 2026 15:39
Assisted-By: devx/c25009c8-5a1d-4cb8-aee9-2dcf64902080
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