Skip to content

[google_sign_in] Remove the public iOS handleOpen helper - #13273

Merged
auto-submit[bot] merged 1 commit into
flutter:mainfrom
victogomez-cs:google_sign_in_ios_internal_handle_open
Oct 15, 2026
Merged

auto-submit[bot] merged 1 commit into
flutter:mainfrom
victogomez-cs:google_sign_in_ios_internal_handle_open

Conversation

@victogomez-cs

Copy link
Copy Markdown
Contributor

Makes handleOpen a macOS-only FlutterAppLifecycleDelegate witness and moves shared GID URL forwarding into an internal helper. On iOS, scene URL handling and tests call that helper directly, so handleOpen is no longer part of the plugin's public API.

The original Obj-C plugin did not expose this helper on iOS; it was added during the Swift migration.

Fixes flutter/flutter#194462

Pre-Review Checklist

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

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, you can 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

On macOS handleOpen stays public as the FlutterAppLifecycleDelegate witness.
@flutter-dashboard flutter-dashboard Bot added the CICD Run CI/CD label Oct 15, 2026

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

Copy link
Copy Markdown
Contributor

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 restricts the visibility of the handleOpen helper method on iOS by renaming it to the internal handleOpenURLs method and updating corresponding tests and call sites. On macOS, handleOpen remains public under a conditional compilation block to implement FlutterAppLifecycleDelegate. There are no review comments, so no feedback is provided.

@victogomez-cs victogomez-cs added the autosubmit Merge PR when tree becomes green via auto submit App label Oct 15, 2026
@auto-submit
auto-submit Bot merged commit fee0bbf into flutter:main Oct 15, 2026
12 checks passed
gmackall pushed a commit to gmackall/flutter that referenced this pull request Oct 16, 2026
flutter/packages@da40eaf...93eede7

2026-10-16 [email protected] [camera]fix a
crash when switching camera while recording due to disconnected
capturePhotoOputput (flutter/packages#13248)
2026-10-16 [email protected] [various] Update iOS example apps to
the 15.0 deployment target (flutter/packages#13223)
2026-10-16 [email protected] [material_ui]
Add M3E `IconButton` example (flutter/packages#13085)
2026-10-15 [email protected] [ci] Increase deprecation check minimum to
iOS 16 (flutter/packages#13211)
2026-10-15 [email protected] [google_sign_in] Remove the
public iOS handleOpen helper (flutter/packages#13273)
2026-10-15 [email protected] [google_fonts] Make the pendingFonts
test deterministic (flutter/packages#13262)
2026-10-15 [email protected]
[vector_graphics_compiler] Fix tspan transform applied twice
(flutter/packages#13129)
2026-10-15 [email protected] Roll Flutter from
426be96 to 5c7e45a (21 revisions) (flutter/packages#13270)
2026-10-15 [email protected] [flutter_svg]
Add golden widget tests for SVG alpha masks (flutter/packages#13245)

If this roll has caused a breakage, revert this CL and set the roller
to dry run mode 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
@victogomez-cs
victogomez-cs deleted the google_sign_in_ios_internal_handle_open branch October 22, 2026 21:29
suryaKommana2662 pushed a commit to suryaKommana2662/flutter that referenced this pull request Oct 29, 2026
flutter/packages@da40eaf...93eede7

2026-10-16 [email protected] [camera]fix a
crash when switching camera while recording due to disconnected
capturePhotoOputput (flutter/packages#13248)
2026-10-16 [email protected] [various] Update iOS example apps to
the 15.0 deployment target (flutter/packages#13223)
2026-10-16 [email protected] [material_ui]
Add M3E `IconButton` example (flutter/packages#13085)
2026-10-15 [email protected] [ci] Increase deprecation check minimum to
iOS 16 (flutter/packages#13211)
2026-10-15 [email protected] [google_sign_in] Remove the
public iOS handleOpen helper (flutter/packages#13273)
2026-10-15 [email protected] [google_fonts] Make the pendingFonts
test deterministic (flutter/packages#13262)
2026-10-15 [email protected]
[vector_graphics_compiler] Fix tspan transform applied twice
(flutter/packages#13129)
2026-10-15 [email protected] Roll Flutter from
426be96 to 5c7e45a (21 revisions) (flutter/packages#13270)
2026-10-15 [email protected] [flutter_svg]
Add golden widget tests for SVG alpha masks (flutter/packages#13245)

If this roll has caused a breakage, revert this CL and set the roller
to dry run mode 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 CICD Run CI/CD p: google_sign_in platform-ios platform-macos triage-ios Should be looked at in iOS triage

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[google_sign_in] handleOpen should not be a public API

2 participants