Skip to content

[Android] Adds title to the configure {} method for runtime changes #479

Merged
kieran-osgood-shopify merged 1 commit into
mainfrom
add-android-runtime-title-method
Jul 16, 2026
Merged

[Android] Adds title to the configure {} method for runtime changes #479
kieran-osgood-shopify merged 1 commit into
mainfrom
add-android-runtime-title-method

Conversation

@kieran-osgood-shopify

@kieran-osgood-shopify kieran-osgood-shopify commented Jul 16, 2026

Copy link
Copy Markdown
Contributor

What changes are you making?

ShopifyCheckoutKit.configure {it.title = "new title"} now has a title property that can be used to dynamically set the title for the sheet at runtime.

This provides parity with iOS, which already has this ability.

How to test

Title for the sheet should now be the dynamic value not the fixed gradle string

image.png


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 the SwiftPM/CocoaPods version snippets in platforms/swift/README.md (major version only)
Releasing a new Embedded Checkout Protocol version?
  • I have bumped embeddedCheckoutProtocolAndroid in platforms/android/gradle/libs.versions.toml
  • I have updated protocol/languages/kotlin/embedded-checkout-protocol/api/embedded-checkout-protocol.api if the public API changed
Releasing a new Android version?
  • I have bumped checkoutKitAndroid in platforms/android/gradle/libs.versions.toml
  • 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.

@github-actions github-actions Bot added the #gsd:50662 Rebase Checkout Kit on UCP label Jul 16, 2026

kieran-osgood-shopify commented Jul 16, 2026

Copy link
Copy Markdown
Contributor Author

@kieran-osgood-shopify
kieran-osgood-shopify force-pushed the add-android-runtime-title-method branch from 8d83e8a to 4c7c337 Compare July 16, 2026 11:30
@kieran-osgood-shopify kieran-osgood-shopify changed the title Adds a runtime configure property for title [Android] Adds title to the configure {} method for runtime changes Jul 16, 2026
@kieran-osgood-shopify
kieran-osgood-shopify marked this pull request as ready for review July 16, 2026 11:37
@kieran-osgood-shopify
kieran-osgood-shopify requested a review from a team as a code owner July 16, 2026 11:37
@kieran-osgood-shopify
kieran-osgood-shopify force-pushed the add-android-runtime-title-method branch from 4c7c337 to b8fe149 Compare July 16, 2026 11:50
@github-actions

Copy link
Copy Markdown

React Native — Coverage Report

Lines Statements Branches Functions
Coverage: 92%
91.85% (327/356) 87.98% (183/208) 100% (86/86)

@github-actions

Copy link
Copy Markdown

Package Size

Platform Artifact Base Head Delta
Android release AAR 239.2 KiB 240.3 KiB +1.2 KiB
Android file breakdown
File Base Head Delta
classes.jar 253.2 KiB 254.5 KiB +1.3 KiB
res/layout/checkout_view_content.xml 2.2 KiB 2.2 KiB 0 B
res/layout/checkout_sheet_content.xml 2.0 KiB 2.0 KiB 0 B
res/values/values.xml 1.2 KiB 1.2 KiB 0 B
R.txt 1.1 KiB 1.1 KiB 0 B
proguard.txt 798 B 798 B 0 B
AndroidManifest.xml 578 B 578 B 0 B
res/drawable/close.xml 431 B 431 B 0 B
res/menu/checkout_menu.xml 354 B 354 B 0 B
META-INF/com/android/build/gradle/aar-metadata.properties 157 B 157 B 0 B

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 merged commit 20f1384 into main Jul 16, 2026
35 checks passed
@kieran-osgood-shopify
kieran-osgood-shopify deleted the add-android-runtime-title-method branch July 16, 2026 14:07
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.

2 participants