Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[google_sign_in] Add Android account name field as optional #8573

Open
wants to merge 33 commits into
base: main
Choose a base branch
from

Conversation

neilself
Copy link

@neilself neilself commented Feb 6, 2025

The underlying Android library for google_sign_in allows for explicitly specifying an account name, but google_sign_in doesn't have a passthrough field for this. Android clients who want to use this functionality through google_sign_in are unable. This PR would remedy this by adding a passthrough field to expose this functionality.

Flutter issue: 163257

Pre-launch Checklist

If you need help, consider asking for advice on the #hackers-new channel on Discord.

@neilself
Copy link
Author

neilself commented Feb 6, 2025

Apologies, I didn't mean to request review just yet.

@stuartmorgan
Copy link
Contributor

Marked as draft; once it's ready, just press the "Ready for review" button and it will re-active all the code owner review requests.

…due to platform interface changes in google_sign_in.
…e to platform interface changes in google_sign_in_platform_interface.
…ample due to platform interface changes in google_sign_in_platform_interface.
…sign_in_as_googleapis_auth for new change adding an optional account name field for Android sign-in.
@neilself neilself marked this pull request as ready for review February 13, 2025 04:58
@neilself
Copy link
Author

Marking this as ready for review now, as tests seem to be passing other than the one about federated plugin dependencies.

Also, I'm not sure about linking an issue, as flutter/packages doesn't seem to even have the issues tab. Do I just create an issue on the main flutter repo?

@stuartmorgan stuartmorgan added the triage-android Should be looked at in Android triage label Feb 13, 2025
Copy link
Contributor

@camsim99 camsim99 left a comment

Choose a reason for hiding this comment

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

Android changes LGTM!

I see there are some test failures unrelated to Android, so sorry if I re-requested Stuart's review prematurely.

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.

3 participants