Skip to content

[Phase 3] Build React Native Android E2E APK artifact#360

Merged
kieran-osgood-shopify merged 1 commit into
mainfrom
kieran-osgood/e2e-browserstack/phase-3-rn-android-artifact
Jul 8, 2026
Merged

[Phase 3] Build React Native Android E2E APK artifact#360
kieran-osgood-shopify merged 1 commit into
mainfrom
kieran-osgood/e2e-browserstack/phase-3-rn-android-artifact

Conversation

@kieran-osgood-shopify

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

Copy link
Copy Markdown
Contributor

Stack Context

This is Phase 3 of the BrowserStack Maestro E2E stack for Checkout Kit, stacked on the Bitrise skeleton.

Parent issue: https://github.com/shop/issues-checkout-kit/issues/1097
Epic: https://github.com/shop/issues-checkout-kit/issues/1084

What?

Replaces the React Native Android placeholder artifact workflow with a real APK build path:

  • installs JS dependencies with pnpm
  • prepares sanitized sample app configuration via scripts/setup_storefront_env
  • builds the React Native module
  • runs ./gradlew assembleDebug for the sample app
  • exports E2E_REACT_NATIVE_ANDROID_APP_PATH to the debug APK
  • documents required Bitrise environment values
  • adds tests asserting the Android workflow does not use local native SDK overrides

Why?

BrowserStack App Automate needs a concrete .apk artifact. RN E2E should validate the released native Maven artifact versions used by the React Native sample/module configuration, not local in-repo native SDK overrides.

Validation

shadowenv exec -- ruby e2e/test/bitrise_pipeline_test.rb
shadowenv exec -- ruby e2e/test/e2e_matrix_test.rb
shadowenv exec -- ruby e2e/scripts/e2e_matrix validate

@kieran-osgood-shopify kieran-osgood-shopify force-pushed the kieran-osgood/e2e-browserstack/phase-2-bitrise-skeleton branch from 8ac1c3c to a5d1615 Compare June 29, 2026 16:04
@kieran-osgood-shopify kieran-osgood-shopify force-pushed the kieran-osgood/e2e-browserstack/phase-3-rn-android-artifact branch from 2093783 to 8d428c0 Compare June 29, 2026 16:04
@kieran-osgood-shopify kieran-osgood-shopify force-pushed the kieran-osgood/e2e-browserstack/phase-2-bitrise-skeleton branch from a5d1615 to 6040519 Compare June 29, 2026 16:38
@kieran-osgood-shopify kieran-osgood-shopify force-pushed the kieran-osgood/e2e-browserstack/phase-3-rn-android-artifact branch 2 times, most recently from 455ab75 to b1b2dfd Compare June 29, 2026 17:01
@kieran-osgood-shopify kieran-osgood-shopify force-pushed the kieran-osgood/e2e-browserstack/phase-2-bitrise-skeleton branch 2 times, most recently from 48f11bf to 7472683 Compare June 29, 2026 17:33
@kieran-osgood-shopify kieran-osgood-shopify force-pushed the kieran-osgood/e2e-browserstack/phase-3-rn-android-artifact branch 3 times, most recently from 12fb9f6 to 3dcb803 Compare July 1, 2026 09:54
@kieran-osgood-shopify kieran-osgood-shopify force-pushed the kieran-osgood/e2e-browserstack/phase-2-bitrise-skeleton branch from 7472683 to 03ed749 Compare July 1, 2026 09:54
@kieran-osgood-shopify kieran-osgood-shopify force-pushed the kieran-osgood/e2e-browserstack/phase-3-rn-android-artifact branch from 3dcb803 to e2d2b87 Compare July 1, 2026 10:07
@kieran-osgood-shopify kieran-osgood-shopify force-pushed the kieran-osgood/e2e-browserstack/phase-2-bitrise-skeleton branch from 03ed749 to 670a50e Compare July 1, 2026 10:07
@kieran-osgood-shopify kieran-osgood-shopify force-pushed the kieran-osgood/e2e-browserstack/phase-3-rn-android-artifact branch from e2d2b87 to e5a9bbe Compare July 1, 2026 10:40
@kieran-osgood-shopify kieran-osgood-shopify force-pushed the kieran-osgood/e2e-browserstack/phase-2-bitrise-skeleton branch 2 times, most recently from 07d4684 to c458493 Compare July 1, 2026 11:26
@kieran-osgood-shopify kieran-osgood-shopify force-pushed the kieran-osgood/e2e-browserstack/phase-3-rn-android-artifact branch from e5a9bbe to 17f737e Compare July 1, 2026 11:26
@kieran-osgood-shopify kieran-osgood-shopify force-pushed the kieran-osgood/e2e-browserstack/phase-2-bitrise-skeleton branch from c458493 to 69c152c Compare July 1, 2026 13:54
@kieran-osgood-shopify kieran-osgood-shopify force-pushed the kieran-osgood/e2e-browserstack/phase-3-rn-android-artifact branch from 17f737e to 1e906be Compare July 1, 2026 13:54
@kieran-osgood-shopify kieran-osgood-shopify force-pushed the kieran-osgood/e2e-browserstack/phase-2-bitrise-skeleton branch from 69c152c to e4d0e83 Compare July 1, 2026 14:57
@kieran-osgood-shopify kieran-osgood-shopify force-pushed the kieran-osgood/e2e-browserstack/phase-3-rn-android-artifact branch 2 times, most recently from 1c6b82c to 6fd54e2 Compare July 1, 2026 15:11
@github-actions

github-actions Bot commented Jul 7, 2026

Copy link
Copy Markdown

Package Size

Platform Artifact Base Head Delta
React Native npm tarball 98.9 KiB 98.9 KiB 0 B
React Native file breakdown
File Base Head Delta
node_modules/@shopify/checkout-kit-protocol/src/generated/Models.ts 85.4 KiB 85.4 KiB 0 B
node_modules/@shopify/checkout-kit-protocol/src/generated/Models.d.ts 53.0 KiB 53.0 KiB 0 B
ios/ShopifyCheckoutKit.swift 15.0 KiB 15.0 KiB 0 B
ios/AcceleratedCheckoutButtons.swift 14.0 KiB 14.0 KiB 0 B
lib/commonjs/index.js 13.1 KiB 13.1 KiB 0 B
src/components/AcceleratedCheckoutButtons.tsx 12.9 KiB 12.9 KiB 0 B
src/index.ts 12.5 KiB 12.5 KiB 0 B
lib/commonjs/components/AcceleratedCheckoutButtons.js 11.4 KiB 11.4 KiB 0 B
android/src/main/java/com/shopify/reactnative/checkoutkit/ShopifyCheckoutKitModule.java 11.1 KiB 11.1 KiB 0 B
lib/module/index.js 10.4 KiB 10.4 KiB 0 B
lib/commonjs/components/AcceleratedCheckoutButtons.js.map 10.3 KiB 10.3 KiB 0 B
lib/module/components/AcceleratedCheckoutButtons.js 10.2 KiB 10.2 KiB 0 B
lib/module/components/AcceleratedCheckoutButtons.js.map 9.1 KiB 9.1 KiB 0 B
src/index.d.ts 8.9 KiB 8.9 KiB 0 B
node_modules/@shopify/checkout-kit-protocol/src/generated/ProtocolNotifications.ts 8.5 KiB 8.5 KiB 0 B
lib/module/index.js.map 8.2 KiB 8.2 KiB 0 B
src/present-dispatcher.ts 8.0 KiB 8.0 KiB 0 B
lib/commonjs/index.js.map 7.7 KiB 7.7 KiB 0 B
lib/commonjs/present-dispatcher.js 6.8 KiB 6.8 KiB 0 B
lib/module/present-dispatcher.js 6.5 KiB 6.5 KiB 0 B
…and 103 smaller files

Measured from the PR base SHA and PR head SHA. The file breakdown shows uncompressed sizes within each package artifact, so individual files do not sum to the compressed artifact total. This comment reports package artifact sizes only; it is not a final app binary-size report.

@kieran-osgood-shopify kieran-osgood-shopify force-pushed the kieran-osgood/e2e-browserstack/phase-2-bitrise-skeleton branch from 0594a04 to 989ae72 Compare July 7, 2026 13:03
@kieran-osgood-shopify kieran-osgood-shopify force-pushed the kieran-osgood/e2e-browserstack/phase-3-rn-android-artifact branch from 17886cc to 05ea674 Compare July 7, 2026 13:03
@kieran-osgood-shopify kieran-osgood-shopify force-pushed the kieran-osgood/e2e-browserstack/phase-2-bitrise-skeleton branch from 989ae72 to 4fed0e9 Compare July 7, 2026 13:10
@kieran-osgood-shopify kieran-osgood-shopify force-pushed the kieran-osgood/e2e-browserstack/phase-3-rn-android-artifact branch 2 times, most recently from 349dc1b to cd2d095 Compare July 7, 2026 16:13
@kieran-osgood-shopify kieran-osgood-shopify force-pushed the kieran-osgood/e2e-browserstack/phase-2-bitrise-skeleton branch from 4fed0e9 to b65817b Compare July 7, 2026 16:13
Comment thread e2e/bitrise.yml Outdated
e2e-build-react-native-android:
meta:
bitrise.io:
stack: ubuntu-noble-24.04-bitrise-2025-android

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

worth adding using anchor so we define things like this once?

stack: &android_stack ubuntu-noble-24.04-bitrise-2025-android

then

stack: *android_stack

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.

Yep good call - updated it here and propagated it up stack

@kieran-osgood-shopify kieran-osgood-shopify force-pushed the kieran-osgood/e2e-browserstack/phase-2-bitrise-skeleton branch from b65817b to 84a8477 Compare July 8, 2026 10:11
@kieran-osgood-shopify kieran-osgood-shopify force-pushed the kieran-osgood/e2e-browserstack/phase-3-rn-android-artifact branch from cd2d095 to ba7892e Compare July 8, 2026 10:11
@kieran-osgood-shopify kieran-osgood-shopify force-pushed the kieran-osgood/e2e-browserstack/phase-2-bitrise-skeleton branch from 84a8477 to c2c28c7 Compare July 8, 2026 11:41
@kieran-osgood-shopify kieran-osgood-shopify force-pushed the kieran-osgood/e2e-browserstack/phase-3-rn-android-artifact branch 2 times, most recently from 3b48186 to f6a559a Compare July 8, 2026 15:01
@kieran-osgood-shopify kieran-osgood-shopify force-pushed the kieran-osgood/e2e-browserstack/phase-2-bitrise-skeleton branch from c2c28c7 to 2ce8232 Compare July 8, 2026 15:01
@kieran-osgood-shopify kieran-osgood-shopify force-pushed the kieran-osgood/e2e-browserstack/phase-3-rn-android-artifact branch from f6a559a to be96aff Compare July 8, 2026 15:08
@kieran-osgood-shopify kieran-osgood-shopify force-pushed the kieran-osgood/e2e-browserstack/phase-2-bitrise-skeleton branch from 2ce8232 to 000e040 Compare July 8, 2026 15:08
@kieran-osgood-shopify kieran-osgood-shopify changed the base branch from kieran-osgood/e2e-browserstack/phase-2-bitrise-skeleton to graphite-base/360 July 8, 2026 15:13
@kieran-osgood-shopify kieran-osgood-shopify force-pushed the kieran-osgood/e2e-browserstack/phase-3-rn-android-artifact branch from be96aff to a6b51fb Compare July 8, 2026 16:18
@kieran-osgood-shopify kieran-osgood-shopify changed the base branch from graphite-base/360 to kieran-osgood/e2e-browserstack/phase-2-bitrise-skeleton July 8, 2026 16:18

kieran-osgood-shopify commented Jul 8, 2026

Copy link
Copy Markdown
Contributor Author

Merge activity

  • Jul 8, 4:40 PM UTC: A user started a stack merge that includes this pull request via Graphite.
  • Jul 8, 4:42 PM UTC: Graphite rebased this pull request as part of a merge.
  • Jul 8, 5:00 PM UTC: @kieran-osgood-shopify merged this pull request with Graphite.

@kieran-osgood-shopify kieran-osgood-shopify changed the base branch from kieran-osgood/e2e-browserstack/phase-2-bitrise-skeleton to graphite-base/360 July 8, 2026 16:40
@kieran-osgood-shopify kieran-osgood-shopify changed the base branch from graphite-base/360 to main July 8, 2026 16:40
Assisted-By: devx/9ae89f69-61a5-46e3-8faf-006d105b0cdd
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.

4 participants