Skip to content

[google_sign_in] Redesign API for current identity SDKs #9267

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

Conversation

stuartmorgan-g
Copy link
Contributor

@stuartmorgan-g stuartmorgan-g commented May 16, 2025

This is a full overhaul of the google_sign_in API, with breaking changes for all component packages—including the platform interface. The usual model of adding the new approach while keeping the old one is not viable here, as the underlying SDKs have changed significantly since the original API was designed. Web already had some only-partially-compatible shims for this reason, and Android would have had to do something similar; see flutter/flutter#119300 and flutter/flutter#154205, and the design doc for more background.

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

@bparrishMines
Copy link
Contributor

bparrishMines commented Jun 17, 2025

LGTM. Github keeps giving me an error code when I attempt to leave a review (either with a comment or approval).

@stuartmorgan-g stuartmorgan-g added the federated: all_changes PR that contains changes for all packages for a federated plugin change label Jun 18, 2025
auto-submit bot pushed a commit that referenced this pull request Jun 23, 2025
…terface (#9454)

This is the platform interface portion of #9267

It intentional makes breaking changes to the platform interface package, for the reasons described in the main PR.

Part of flutter/flutter#119300

## Pre-Review Checklist

[^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.
auto-submit bot pushed a commit that referenced this pull request Jun 23, 2025
…plementations (#9479)

This is the platform implementation portion of #9267

Part of flutter/flutter#119300

## Pre-Review Checklist

[^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.
@stuartmorgan-g stuartmorgan-g added the autosubmit Merge PR when tree becomes green via auto submit App label Jun 24, 2025
@auto-submit auto-submit bot removed the autosubmit Merge PR when tree becomes green via auto submit App label Jun 24, 2025
Copy link
Contributor

auto-submit bot commented Jun 24, 2025

autosubmit label was removed for flutter/packages/9267, because - The status or check suite Linux_android android_device_tests_shard_2 master has failed. Please fix the issues identified (or deflake) before re-applying this label.

@stuartmorgan-g stuartmorgan-g added the autosubmit Merge PR when tree becomes green via auto submit App label Jun 24, 2025
@auto-submit auto-submit bot merged commit d9d3191 into flutter:main Jun 24, 2025
78 checks passed
feduke-nukem pushed a commit to Yobari-Timeliners/golub that referenced this pull request Jun 24, 2025
…terface (#9454)

This is the platform interface portion of flutter/packages#9267

It intentional makes breaking changes to the platform interface package, for the reasons described in the main PR.

Part of flutter/flutter#119300

## Pre-Review Checklist

[^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.
feduke-nukem pushed a commit to Yobari-Timeliners/golub that referenced this pull request Jun 24, 2025
…plementations (#9479)

This is the platform implementation portion of flutter/packages#9267

Part of flutter/flutter#119300

## Pre-Review Checklist

[^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.
github-merge-queue bot pushed a commit to flutter/flutter that referenced this pull request Jun 24, 2025
flutter/packages@02770da...d9d3191

2025-06-24 [email protected] [google_sign_in] Redesign API for
current identity SDKs (flutter/packages#9267)
2025-06-24 [email protected] [go_router]
Fix routing to treat URLs with different cases (e.g., `/Home` vs
`/home`) as distinct routes. (flutter/packages#9426)
2025-06-23 [email protected] [google_sign_in] Redesign API for
current identity SDKs - Platform Implementations (flutter/packages#9479)
2025-06-23 [email protected] Roll Flutter from
0ab008a to d733bea (16 revisions) (flutter/packages#9478)
2025-06-23 [email protected]
[go_router_builder] Skip case sensitive test (flutter/packages#9444)
2025-06-23 [email protected] [google_sign_in] Redesign API for
current identity SDKs - Platform Interface (flutter/packages#9454)

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
Ortes pushed a commit to Ortes/packages that referenced this pull request Jun 25, 2025
…terface (flutter#9454)

This is the platform interface portion of flutter#9267

It intentional makes breaking changes to the platform interface package, for the reasons described in the main PR.

Part of flutter/flutter#119300

## Pre-Review Checklist

[^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.
Ortes pushed a commit to Ortes/packages that referenced this pull request Jun 25, 2025
…plementations (flutter#9479)

This is the platform implementation portion of flutter#9267

Part of flutter/flutter#119300

## Pre-Review Checklist

[^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.
Ortes pushed a commit to Ortes/packages that referenced this pull request Jun 25, 2025
This is a full overhaul of the `google_sign_in` API, with breaking changes for all component packages—including the platform interface. The usual model of adding the new approach while keeping the old one is not viable here, as the underlying SDKs have changed significantly since the original API was designed. Web already had some only-partially-compatible shims for this reason, and Android would have had to do something similar; see flutter/flutter#119300 and flutter/flutter#154205, and [the design doc](https://flutter.dev/go/google-sign-in-authn-authz-updates) for more background.

- Fixes flutter/flutter#119300
- Fixes flutter/flutter#154205
- Fixes flutter/flutter#139406
- Fixes flutter/flutter#150365
- Fixes flutter/flutter#137727
- Fixes flutter/flutter#124206
- Fixes flutter/flutter#117794
- Fixes flutter/flutter#107532
- Fixes flutter/flutter#85439
- Fixes flutter/flutter#74308
- Fixes flutter/flutter#71607
- Fixes flutter/flutter#70427
- Fixes flutter/flutter#161890
- Fixes flutter/flutter#157639
- Fixes flutter/flutter#67308
- Fixes flutter/flutter#36673
- Fixes flutter/flutter#32441 (there may be more to do here over time, since we may find exceptions that are not caught, but we now have a structured system to convert errors to as we find specific unhandled cases)

## Pre-Review Checklist

[^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.
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 federated: all_changes PR that contains changes for all packages for a federated plugin change override: allow breaking change Override the check preventing breaking changes to platform interfaces p: google_sign_in triage-ios Should be looked at in iOS triage
Projects
None yet
6 participants