Skip to content

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

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

Merged
merged 45 commits into from
Mar 8, 2025

Conversation

neilself
Copy link
Contributor

@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
Contributor Author

neilself commented Feb 6, 2025

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

@stuartmorgan-g
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.

auto-submit bot pushed a commit that referenced this pull request Mar 3, 2025
… interface changes) (#8735)

This PR contains the platform interface changes for the main PR [8573](#8573). As a whole, these changes add a new option to explicitly specify the account name on Android while signing in within the google_sign_in package.

Flutter issue: [163257](flutter/flutter#163257)
@stuartmorgan-g
Copy link
Contributor

Once the platform interface PR auto-publishes (should be within the hour), you'll be able split out the platform-implementation-level PR.

@neilself
Copy link
Contributor Author

neilself commented Mar 4, 2025

Hi Stuart, the platform interface is now in and this PR is passing the checks, so I believe we should be able to get it in now.

@stuartmorgan-g
Copy link
Contributor

stuartmorgan-g commented Mar 4, 2025

This needs another PR first; see the full description of step 5 here. If landed now, anyone updating only the app-facing package (very common) would see this parameter silently ignored.

auto-submit bot pushed a commit that referenced this pull request Mar 6, 2025
…tation package changes) (#8805)

Implementation package changes for [PR 8573](#8573). This PR adds support for a new passthrough field to explicitly set an account name while signing in for Android devices.

Flutter issue: [163257](flutter/flutter#163257)
Copy link
Contributor

@stuartmorgan-g stuartmorgan-g left a comment

Choose a reason for hiding this comment

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

LGTM

@stuartmorgan-g stuartmorgan-g added autosubmit Merge PR when tree becomes green via auto submit App and removed triage-android Should be looked at in Android triage labels Mar 8, 2025
@auto-submit auto-submit bot merged commit 2d3b24e into flutter:main Mar 8, 2025
82 checks passed
github-merge-queue bot pushed a commit to flutter/flutter that referenced this pull request Mar 10, 2025
flutter/packages@4c5a7ed...464cea5

2025-03-10 [email protected] [camera_avfoundation] Tests
backfilling - part 2 (flutter/packages#8796)
2025-03-08 [email protected] [google_sign_in] Add Android account name
field as optional (flutter/packages#8573)
2025-03-07 [email protected] Roll Flutter from
321fbc0 to 6b93cf9 (18 revisions) (flutter/packages#8817)
2025-03-07 [email protected] Roll Flutter (stable) from
68415ad to 09de023 (1139 revisions) (flutter/packages#8813)
2025-03-07 [email protected] [google_maps_flutter_web] set
icon anchor for markers (flutter/packages#8077)

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-packages-flutter-autoroll
Please CC [email protected] on the revert to ensure that a
human
is aware of the problem.

To file a bug in Flutter:
https://github.com/flutter/flutter/issues/new/choose

To report a problem with the AutoRoller itself, please file a bug:
https://issues.skia.org/issues/new?component=1389291&template=1850622

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
autosubmit Merge PR when tree becomes green via auto submit App p: google_sign_in
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants