Skip to content

Conversation

@stuartmorgan-g
Copy link
Collaborator

Updates the dependency on the GoogleSignIn iOS SDK to the recently released 9.0. Some specific benefits include:

  • Allows wiring up the nonce parameter on iOS, which was plumbed most of the way through already since the PR had landed upstream when nonce was added to google_sign_in, but not fully connected since it wasn't released.
  • Avoids transitive dependency conflicts with plugins that use AppAuth 2.x.

Fixes flutter/flutter#172453 Finishes flutter/flutter#85439 for iOS

Pre-Review Checklist

Note: The Flutter team is currently trialing the use of Gemini Code Assist for GitHub. Comments from the gemini-code-assist bot should not be taken as authoritative feedback from the Flutter team. If you find its comments useful you can update your code accordingly, but if you are unsure or disagree with the feedback, please feel free to wait for a Flutter team member's review for guidance on which automated comments should be addressed.

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

Updates the dependency on the GoogleSignIn iOS SDK to the
recently released 9.0. Some specific benefits include:
- Allows wiring up the nonce parameter on iOS, which was plumbed most of
  the way through already since the PR had landed upstream when nonce
  was added to `google_sign_in`, but not fully connected since it wasn't
  released.
- Avoids transitive dependency conflicts with plugins that use AppAuth
  2.x.

Fixes flutter/flutter#172453
Finishes flutter/flutter#85439 for iOS
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 updates the GoogleSignIn-iOS dependency to version 9.0, adding support for the nonce parameter and resolving transitive dependency issues. The changes correctly implement the nonce parameter in the iOS/macOS native code and update the tests accordingly.

s.dependency 'AppAuth', '>= 1.7.4'
# GTMSessionFetcher is a GoogleSignIn transitive dependency, added here as a
# direct dependency to ensure a version which defines modules.
s.dependency 'GTMSessionFetcher', '>= 3.4.0'
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

GoogleSignIn now depends on AppAuth 2.x, so we don't need to set a version floor for that one any more. The GTMSessionFetcher dependency there is still only 3.3+ though, so we still need this one.

Copy link
Member

@cbracken cbracken left a comment

Choose a reason for hiding this comment

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

LGTM stamp from a Japanese personal seal

@stuartmorgan-g stuartmorgan-g added the autosubmit Merge PR when tree becomes green via auto submit App label Jul 21, 2025
@auto-submit auto-submit bot merged commit 57cbb96 into flutter:main Jul 21, 2025
78 checks passed
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request Jul 21, 2025
@stuartmorgan-g stuartmorgan-g deleted the sign-in-ios-9 branch July 21, 2025 17:02
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request Jul 21, 2025
github-merge-queue bot pushed a commit to flutter/flutter that referenced this pull request Jul 21, 2025
flutter/packages@cb8fef6...9c85e5e

2025-07-21 [email protected] Roll Flutter from
70a3c3c to 70cdc0c (4 revisions) (flutter/packages#9658)
2025-07-21 [email protected] [google_sign_in] Update to
GoogleSignIn-iOS 9 (flutter/packages#9655)
2025-07-20 [email protected] Roll Flutter from
440713c to 70a3c3c (11 revisions) (flutter/packages#9653)
2025-07-20 [email protected] Have Gemini ignore Flutter version
pin (flutter/packages#9647)
2025-07-18 [email protected] Roll Flutter from
9c626d9 to 440713c (19 revisions) (flutter/packages#9646)
2025-07-18 [email protected] [camera_avfoundation]
Implementation swift migration - part 8 (flutter/packages#9635)
2025-07-17 49699333+dependabot[bot]@users.noreply.github.com
[dependabot]: Bump com.android.tools.build:gradle from 8.9.0 to 8.11.1
in /packages/webview_flutter/webview_flutter_android/android
(flutter/packages#9609)
2025-07-17 [email protected] [two_dimensional_scrollables] Fix
missing leading cache extent for TableView (flutter/packages#9636)
2025-07-17 49699333+dependabot[bot]@users.noreply.github.com
[dependabot]: Bump com.android.tools.build:gradle from 8.9.0 to 8.11.1
in /packages/interactive_media_ads/android (flutter/packages#9623)
2025-07-17 [email protected] [pigeon] Adds
overrides for constructors and static members of ProxyApis
(flutter/packages#9515)

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
github-merge-queue bot pushed a commit to flutter/flutter that referenced this pull request Jul 21, 2025
flutter/packages@cb8fef6...9c85e5e

2025-07-21 [email protected] Roll Flutter from
70a3c3c to 70cdc0c (4 revisions) (flutter/packages#9658)
2025-07-21 [email protected] [google_sign_in] Update to
GoogleSignIn-iOS 9 (flutter/packages#9655)
2025-07-20 [email protected] Roll Flutter from
440713c to 70a3c3c (11 revisions) (flutter/packages#9653)
2025-07-20 [email protected] Have Gemini ignore Flutter version
pin (flutter/packages#9647)
2025-07-18 [email protected] Roll Flutter from
9c626d9 to 440713c (19 revisions) (flutter/packages#9646)
2025-07-18 [email protected] [camera_avfoundation]
Implementation swift migration - part 8 (flutter/packages#9635)
2025-07-17 49699333+dependabot[bot]@users.noreply.github.com
[dependabot]: Bump com.android.tools.build:gradle from 8.9.0 to 8.11.1
in /packages/webview_flutter/webview_flutter_android/android
(flutter/packages#9609)
2025-07-17 [email protected] [two_dimensional_scrollables] Fix
missing leading cache extent for TableView (flutter/packages#9636)
2025-07-17 49699333+dependabot[bot]@users.noreply.github.com
[dependabot]: Bump com.android.tools.build:gradle from 8.9.0 to 8.11.1
in /packages/interactive_media_ads/android (flutter/packages#9623)
2025-07-17 [email protected] [pigeon] Adds
overrides for constructors and static members of ProxyApis
(flutter/packages#9515)

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
azatech pushed a commit to azatech/flutter that referenced this pull request Jul 28, 2025
flutter/packages@cb8fef6...9c85e5e

2025-07-21 [email protected] Roll Flutter from
70a3c3c to 70cdc0c (4 revisions) (flutter/packages#9658)
2025-07-21 [email protected] [google_sign_in] Update to
GoogleSignIn-iOS 9 (flutter/packages#9655)
2025-07-20 [email protected] Roll Flutter from
440713c to 70a3c3c (11 revisions) (flutter/packages#9653)
2025-07-20 [email protected] Have Gemini ignore Flutter version
pin (flutter/packages#9647)
2025-07-18 [email protected] Roll Flutter from
9c626d9 to 440713c (19 revisions) (flutter/packages#9646)
2025-07-18 [email protected] [camera_avfoundation]
Implementation swift migration - part 8 (flutter/packages#9635)
2025-07-17 49699333+dependabot[bot]@users.noreply.github.com
[dependabot]: Bump com.android.tools.build:gradle from 8.9.0 to 8.11.1
in /packages/webview_flutter/webview_flutter_android/android
(flutter/packages#9609)
2025-07-17 [email protected] [two_dimensional_scrollables] Fix
missing leading cache extent for TableView (flutter/packages#9636)
2025-07-17 49699333+dependabot[bot]@users.noreply.github.com
[dependabot]: Bump com.android.tools.build:gradle from 8.9.0 to 8.11.1
in /packages/interactive_media_ads/android (flutter/packages#9623)
2025-07-17 [email protected] [pigeon] Adds
overrides for constructors and static members of ProxyApis
(flutter/packages#9515)

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
vashworth pushed a commit to vashworth/packages that referenced this pull request Jul 30, 2025
Updates the dependency on the GoogleSignIn iOS SDK to the recently released 9.0. Some specific benefits include:
- Allows wiring up the nonce parameter on iOS, which was plumbed most of the way through already since the PR had landed upstream when nonce was added to `google_sign_in`, but not fully connected since it wasn't released.
- Avoids transitive dependency conflicts with plugins that use AppAuth 2.x.

Fixes flutter/flutter#172453 Finishes flutter/flutter#85439 for iOS

## Pre-Review Checklist

**Note**: The Flutter team is currently trialing the use of [Gemini Code Assist for GitHub](https://developers.google.com/gemini-code-assist/docs/review-github-code). Comments from the `gemini-code-assist` bot should not be taken as authoritative feedback from the Flutter team. If you find its comments useful you can update your code accordingly, but if you are unsure or disagree with the feedback, please feel free to wait for a Flutter team member's review for guidance on which automated comments should be addressed.

[^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.
ksokolovskyi pushed a commit to ksokolovskyi/flutter that referenced this pull request Aug 19, 2025
flutter/packages@cb8fef6...9c85e5e

2025-07-21 [email protected] Roll Flutter from
70a3c3c to 70cdc0c (4 revisions) (flutter/packages#9658)
2025-07-21 [email protected] [google_sign_in] Update to
GoogleSignIn-iOS 9 (flutter/packages#9655)
2025-07-20 [email protected] Roll Flutter from
440713c to 70a3c3c (11 revisions) (flutter/packages#9653)
2025-07-20 [email protected] Have Gemini ignore Flutter version
pin (flutter/packages#9647)
2025-07-18 [email protected] Roll Flutter from
9c626d9 to 440713c (19 revisions) (flutter/packages#9646)
2025-07-18 [email protected] [camera_avfoundation]
Implementation swift migration - part 8 (flutter/packages#9635)
2025-07-17 49699333+dependabot[bot]@users.noreply.github.com
[dependabot]: Bump com.android.tools.build:gradle from 8.9.0 to 8.11.1
in /packages/webview_flutter/webview_flutter_android/android
(flutter/packages#9609)
2025-07-17 [email protected] [two_dimensional_scrollables] Fix
missing leading cache extent for TableView (flutter/packages#9636)
2025-07-17 49699333+dependabot[bot]@users.noreply.github.com
[dependabot]: Bump com.android.tools.build:gradle from 8.9.0 to 8.11.1
in /packages/interactive_media_ads/android (flutter/packages#9623)
2025-07-17 [email protected] [pigeon] Adds
overrides for constructors and static members of ProxyApis
(flutter/packages#9515)

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
mboetger pushed a commit to mboetger/flutter that referenced this pull request Sep 18, 2025
flutter/packages@cb8fef6...9c85e5e

2025-07-21 [email protected] Roll Flutter from
70a3c3c to 70cdc0c (4 revisions) (flutter/packages#9658)
2025-07-21 [email protected] [google_sign_in] Update to
GoogleSignIn-iOS 9 (flutter/packages#9655)
2025-07-20 [email protected] Roll Flutter from
440713c to 70a3c3c (11 revisions) (flutter/packages#9653)
2025-07-20 [email protected] Have Gemini ignore Flutter version
pin (flutter/packages#9647)
2025-07-18 [email protected] Roll Flutter from
9c626d9 to 440713c (19 revisions) (flutter/packages#9646)
2025-07-18 [email protected] [camera_avfoundation]
Implementation swift migration - part 8 (flutter/packages#9635)
2025-07-17 49699333+dependabot[bot]@users.noreply.github.com
[dependabot]: Bump com.android.tools.build:gradle from 8.9.0 to 8.11.1
in /packages/webview_flutter/webview_flutter_android/android
(flutter/packages#9609)
2025-07-17 [email protected] [two_dimensional_scrollables] Fix
missing leading cache extent for TableView (flutter/packages#9636)
2025-07-17 49699333+dependabot[bot]@users.noreply.github.com
[dependabot]: Bump com.android.tools.build:gradle from 8.9.0 to 8.11.1
in /packages/interactive_media_ads/android (flutter/packages#9623)
2025-07-17 [email protected] [pigeon] Adds
overrides for constructors and static members of ProxyApis
(flutter/packages#9515)

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
korca0220 pushed a commit to korca0220/flutter that referenced this pull request Sep 22, 2025
flutter/packages@cb8fef6...9c85e5e

2025-07-21 [email protected] Roll Flutter from
70a3c3c to 70cdc0c (4 revisions) (flutter/packages#9658)
2025-07-21 [email protected] [google_sign_in] Update to
GoogleSignIn-iOS 9 (flutter/packages#9655)
2025-07-20 [email protected] Roll Flutter from
440713c to 70a3c3c (11 revisions) (flutter/packages#9653)
2025-07-20 [email protected] Have Gemini ignore Flutter version
pin (flutter/packages#9647)
2025-07-18 [email protected] Roll Flutter from
9c626d9 to 440713c (19 revisions) (flutter/packages#9646)
2025-07-18 [email protected] [camera_avfoundation]
Implementation swift migration - part 8 (flutter/packages#9635)
2025-07-17 49699333+dependabot[bot]@users.noreply.github.com
[dependabot]: Bump com.android.tools.build:gradle from 8.9.0 to 8.11.1
in /packages/webview_flutter/webview_flutter_android/android
(flutter/packages#9609)
2025-07-17 [email protected] [two_dimensional_scrollables] Fix
missing leading cache extent for TableView (flutter/packages#9636)
2025-07-17 49699333+dependabot[bot]@users.noreply.github.com
[dependabot]: Bump com.android.tools.build:gradle from 8.9.0 to 8.11.1
in /packages/interactive_media_ads/android (flutter/packages#9623)
2025-07-17 [email protected] [pigeon] Adds
overrides for constructors and static members of ProxyApis
(flutter/packages#9515)

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
lucaantonelli pushed a commit to lucaantonelli/flutter that referenced this pull request Nov 21, 2025
flutter/packages@cb8fef6...9c85e5e

2025-07-21 [email protected] Roll Flutter from
70a3c3c to 70cdc0c (4 revisions) (flutter/packages#9658)
2025-07-21 [email protected] [google_sign_in] Update to
GoogleSignIn-iOS 9 (flutter/packages#9655)
2025-07-20 [email protected] Roll Flutter from
440713c to 70a3c3c (11 revisions) (flutter/packages#9653)
2025-07-20 [email protected] Have Gemini ignore Flutter version
pin (flutter/packages#9647)
2025-07-18 [email protected] Roll Flutter from
9c626d9 to 440713c (19 revisions) (flutter/packages#9646)
2025-07-18 [email protected] [camera_avfoundation]
Implementation swift migration - part 8 (flutter/packages#9635)
2025-07-17 49699333+dependabot[bot]@users.noreply.github.com
[dependabot]: Bump com.android.tools.build:gradle from 8.9.0 to 8.11.1
in /packages/webview_flutter/webview_flutter_android/android
(flutter/packages#9609)
2025-07-17 [email protected] [two_dimensional_scrollables] Fix
missing leading cache extent for TableView (flutter/packages#9636)
2025-07-17 49699333+dependabot[bot]@users.noreply.github.com
[dependabot]: Bump com.android.tools.build:gradle from 8.9.0 to 8.11.1
in /packages/interactive_media_ads/android (flutter/packages#9623)
2025-07-17 [email protected] [pigeon] Adds
overrides for constructors and static members of ProxyApis
(flutter/packages#9515)

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 platform-ios platform-macos

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[google_sign_in] Update to GoogleSignIn-iOS 9

2 participants