Connect Android Hello to deployed Cloud with published Kotlin SDK - #2
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Android's Hello screen previously performed a local protobuf round trip. It now uses the published
contracts-connect-client:1.0.0-ci.36.1and Connect-Kotlin 0.9.0 to callhttps://arcforges.com/apiusing binary gRPC-Web. One button press sends one request, with a five-second deadline, pending/error states, explicit retry and cancellation on disposal. Completed state survives recreation; the JVM Hot Reload preview remains offline.CI verifies the real SDK on Android and presses the button in the same R8-minified APK candidate that will be signed after merge. It checks the
/apipath, Content-Type, deadline headers and decoded server errors, and records the observed Native AOT/Worker revision. Local HTTP fixtures separately cover stalled responses and cancellation. Published dependency versions, locks, checksums and Dependabot grouping are updated.Device verification found and fixed main-thread TLS cleanup and R8 removal of the generated
getDefaultInstance()needed by the serializer. Code shrinking, normal TLS verification and StrictMode remain enabled.Validation:
6554400c04817491fe68d5e6319434034c5dc356.Hello, World!response.24c1c84aa2354dea77f783f8e45feee64adadfa4: Windows/Linux builds, all security checks, five Android tests and the minified APK's single-button live invocation. Downloaded evidence confirms the Cloud revision above and the eight expected gRPC outcomes. The UI test scrolls to its action and reports actual screen state on failure; CI retains logcat and protocol evidence before enforcing success.No Cloudflare credential or new GitHub secret is required. The live anonymous Hello service must be available for the device gate. This is emulator and Hello integration evidence, not physical-device, account, Play Store or full product acceptance. Main-only signing/publication remains a post-merge check. The bounded review, implementation plan and local results are in
docs/cloud-hello-plan.md.