Skip to content

refactor(android): log message rejections as warnings - #647

Open
tiagocandido wants to merge 1 commit into
08-14-refactor_swift_message_rejection_warn_loggingfrom
08-14-refactor_android_message_rejection_warn_logging
Open

refactor(android): log message rejections as warnings#647
tiagocandido wants to merge 1 commit into
08-14-refactor_swift_message_rejection_warn_loggingfrom
08-14-refactor_android_message_rejection_warn_logging

Conversation

@tiagocandido

@tiagocandido tiagocandido commented Aug 14, 2026

Copy link
Copy Markdown
Contributor

What changes are you making?

Same as #646, for Android: remove Configuration.onMessageRejected and the public RejectedMessage type while they have only shipped in an alpha. Origin-validation rejections are always logged as warnings with the verified origin and reason; the untrusted message body is not logged.

How to test

From platforms/android:

./gradlew test
./gradlew :lib:apiCheck

Remove Configuration.onMessageRejected and the public RejectedMessage
type before they ship in a release. Origin-validation rejections are now
always logged at warn level with the verified origin and reason; the
untrusted message body is never logged.
@github-actions github-actions Bot added the #gsd:50662 Rebase Checkout Kit on UCP label Aug 14, 2026

Copy link
Copy Markdown
Contributor Author

Warning

This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
Learn more

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

@github-actions

Copy link
Copy Markdown

Package Size

Platform Artifact Base Head Delta
Android release AAR 281.8 KiB 279.7 KiB -2.1 KiB
Android file breakdown
File Base Head Delta
classes.jar 297.7 KiB 295.5 KiB -2.2 KiB
res/layout/checkout_view_content.xml 2.6 KiB 2.6 KiB 0 B
res/layout/checkout_sheet_content.xml 2.0 KiB 2.0 KiB 0 B
res/values/values.xml 1.3 KiB 1.3 KiB 0 B
R.txt 1.2 KiB 1.2 KiB 0 B
AndroidManifest.xml 922 B 922 B 0 B
proguard.txt 798 B 798 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.

@bitrise

bitrise Bot commented Aug 14, 2026

Copy link
Copy Markdown

Install this build

Open Tophat, select your target device, then click Install. Links open on the Mac running Tophat.

SDK Install
Kotlin Install with Tophat

Checkout Kit E2E results

Status Suite Target Platform OS version tag Device
kotlin-android kotlin android latest Google Pixel 9
Android 17.0

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