Skip to content

[google_sign_in] handleOpen should not be a public API #194462

Closed
flutter/packages
#13273

Activity

  1. added
    platform-iosiOS applications specifically
    team-iosOwned by iOS platform team
    P2Important issues not at the top of the work list
    triaged-iosTriaged by iOS platform team
    on Oct 15, 2026
  2. victogomez-cs commented on Oct 15, 2026

    @victogomez-cs

    On iOS this is correct: handleOpen is only a helper for scene URL handling, so it should not be public.

    The original Obj-C split this by platform:

    • iOS used application:openURL:options: and a test-only handleURLs: helper from scene:openURLContexts:
    • macOS implemented FlutterAppLifecycleDelegate.handleOpenURLs:

    On macOS, handleOpen(_:) has to stay public. That is Swift’s import of handleOpenURLs:. Making it internal fails to compile (must be declared public because it matches a requirement in public protocol 'FlutterAppLifecycleDelegate').

    Plan:

    • Keep public handleOpen on macOS only, as the protocol witness
    • Remove the iOS handleOpen helper
    • Share GID URL forwarding in an internal handleURLs helper used by iOS scene handling and tests
    • Leave application(_:open:options:) on iOS unchanged
  3. github-actions commented on Oct 29, 2026

    @github-actions

    This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of flutter doctor -v and a minimal reproduction of the issue.

  4. locked as resolved and limited conversation to collaborators on Oct 29, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

P2Important issues not at the top of the work listp: google_sign_inThe Google Sign-In pluginplatform-iosiOS applications specificallyteam-iosOwned by iOS platform teamtriaged-iosTriaged by iOS platform team

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions