Repository navigation
fix(rcs): Add Constellation/Asterism RCS support with bug fixes (#2994) - #3596
Closed
chenlinxi890-spec wants to merge 1 commit into
Closed
chenlinxi890-spec wants to merge 1 commit into
chenlinxi890-spec wants to merge 1 commit into
Conversation
…rog#2994) Add complete RCS (Rich Communication Services) support including: - play-services-constellation: gRPC-based phone verification service - play-services-asterism: consent management service - RpcClient: Fix OkHttp timeout (60s across all operations, matching GMS) - VerifyPhoneNumber: Fix DeadObjectException on AIDL callbacks - PhenotypeService: Add RCS provisioning flags for GMS and Bugle - SelfCheckFragment: Add READ_PHONE_NUMBERS, READ_SMS, SEND_SMS permissions - InstanceID: Implement requestToken for IID token generation Bug fixes addressing known issues from PR microg#3360 testing: 1. gRPC timeout: Added connectTimeout(60s), writeTimeout(60s), callTimeout(60s) - Fixes SocketTimeoutException during SMS challenge flows 2. DeadObjectException: Wrapped callbacks.onPhoneNumber* in try-catch - Fixes crash when Messages unbinds during verification Related: microg#2994
Member
|
Why don't you just submit this patch to the PR #3360 instead of creating a broken merged PR? |
Chess-Debug
added a commit
to Chess-Debug/GmsCore
that referenced
this pull request
Sep 16, 2026
Refactor RpcClient construction behind an internal factory without changing runtime timeout behavior, then add a regression that requires the stock-GMS 60-second timeout contract for connect/read/write/call. Baseline expectation at 276523b: - connect: OkHttp default 10s -> FAIL - read: 60s -> PASS - write: OkHttp default 10s -> FAIL - call: OkHttp default 0/unbounded -> FAIL Provenance: - Bug report / decompiled-GMS comparison: @unpluggederan, microg#3360 discussion - Prior implementation attempt: @chenlinxi890-spec, microg#3596 - Foundragon delta: adds a focused deterministic regression before restoring the fix This commit is intentionally the BEFORE_FAIL checkpoint; the next commit restores the previously proposed timeout parity fix.
Chess-Debug
added a commit
to Chess-Debug/GmsCore
that referenced
this pull request
Sep 16, 2026
Restore the complete timeout configuration reported from decompiled stock GMS: connect/read/write/call are all 60 seconds. The consolidated microg#3784 baseline retained only readTimeout(60s), leaving OkHttp defaults for connect/write and an unbounded call timeout. This can reproduce the earlier Sync/Proceed timeout failures during SMS verification flows whose server responses exceed OkHttp's 10-second defaults. Provenance: - Original bug discovery and real-device observation: @unpluggederan in microg#3360 - Prior implementation: @chenlinxi890-spec in microg#3596 - Foundragon delta: behavior-neutral client factory plus deterministic timeout regression in parent 687a236 Regression: - BEFORE at 276523b: [connect, read, write, call] = [10s, 60s, 10s, 0] - AFTER: [60s, 60s, 60s, 60s] Physical RCS E2E remains NOT YET PHYSICALLY VERIFIED.
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.
Summary
This PR implements RCS (Rich Communication Services) support for microG, addressing issue #2994. It includes the complete Constellation (phone verification) and Asterism (consent management) services, plus two critical bug fixes.
Bug / Missing support point
Google Messages RCS requires:
Fix
New Files
play-services-constellation/: gRPC-based phone verification service
play-services-asterism/: Consent management service
play-services-core/ modifications:
equestToken() for IID token generation
settings.gradle: Added play-services-asterism and play-services-constellation
Bug Fixes (vs upstream PR #3360)
gRPC Timeout Fix: Added connectTimeout(60s), writeTimeout(60s), callTimeout(60s)
DeadObjectException Fix: Wrapped callbacks.onPhoneNumber* in try-catch
Tests
Why this is not duplicate
This PR provides the first complete implementation of RCS support in microG master branch.