Skip to content

Conversation

stuartmorgan-g
Copy link
Collaborator

Adds the missing implementation of disconnect using the new revokeAccess API, updating play-services-auth to the version containing the new API.

Fixes flutter/flutter#169612

Pre-Review Checklist

Footnotes

  1. Regular contributors who have demonstrated familiarity with the repository guidelines only need to comment if the PR is not auto-exempted by repo tooling. 2 3

Adds the missing implementation of `disconnect` using the new
`revokeAccess` API, updating `play-services-auth` to the version
containing the new API.

Fixes flutter/flutter#169612
Copy link

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request implements the disconnect functionality for Android by leveraging the new revokeAccess API. The changes include updating the native dependency, adding the new API via Pigeon, and implementing the logic on both the Dart and native sides, complete with corresponding tests. The implementation is solid, but I've identified a potential crash due to unsafe access on a list and a minor typo in an error message. Addressing these points will improve the robustness and clarity of the code.

@ycv005
Copy link

ycv005 commented Sep 13, 2025

@ash2moon Please review it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[google_sign_in] Implement disconnect on Android once available
2 participants