fix(android-sample): let a guest cart take the shop market - #570
Conversation
6f86347 to
7a16bc3
Compare
70d84ed to
4ac9954
Compare
7a16bc3 to
d854029
Compare
4ac9954 to
6643cfb
Compare
6643cfb to
6bff379
Compare
d854029 to
398373e
Compare
6bff379 to
9ceb6c5
Compare
398373e to
ae576c3
Compare
9ceb6c5 to
4289c70
Compare
739c95b to
028246e
Compare
4289c70 to
d67c16c
Compare
028246e to
f3bba28
Compare
4e6d2bf to
cf7a21e
Compare
f3bba28 to
b874950
Compare
Package Size
Android file breakdown
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. |
Install this buildOpen Tophat, select your target device, then click Install. Links open on the Mac running Tophat.
Checkout Kit E2E results
FailuresCaution These E2E checks are not yet required, so they do not block merging — but a failure may still indicate a real issue to resolve before merging.
Android — kotlin
|
cf7a21e to
5f180c4
Compare
b874950 to
1ef701e
Compare
1ef701e to
4adf1f2
Compare
The Android sample gave a guest cart a Canadian buyer identity. A country on the buyer identity picks the market, and the market decides the currency, the address form and its labels, so the Kotlin checkout rendered a Canadian form and totalled in CAD. The Swift and React Native samples send no buyer identity for a guest, so this one now sends none either. This is flake B4: the shared E2E fixture is a United States address, and checkout-guest failed on Kotlin Android while React Native Android passed the same test. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> Assisted-By: devx/5b4b8d5b-690a-4389-841e-039723ade1da
5f180c4 to
5027eb8
Compare

TLDR
Android sample diverges from other samples by giving a guest cart a hardcoded Canadian buyer identity.
I'm removing the hardcode.
Why
A country on the buyer identity picks the market. The market decides the currency, the address form, and the labels on its fields. So the Android sample rendered a Canadian checkout, while the shared E2E fixture types a United States address.
This was detected as a fault in some of the tests
React Native also skipped the country picker step, because
United Stateswas already selected. The Kotlin failure screenshot shows a total in CAD.Scope
This change is scoped to