You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[google_sign_in] handleOpen should not be a public API #194462
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
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.
Activity
victogomez-cs commentedon Oct 15, 2026
On iOS this is correct:
handleOpenis only a helper for scene URL handling, so it should not be public.The original Obj-C split this by platform:
application:openURL:options:and a test-onlyhandleURLs:helper fromscene:openURLContexts:FlutterAppLifecycleDelegate.handleOpenURLs:On macOS,
handleOpen(_:)has to stay public. That is Swift’s import ofhandleOpenURLs:. Making it internal fails to compile (must be declared public because it matches a requirement in public protocol 'FlutterAppLifecycleDelegate').Plan:
handleOpenon macOS only, as the protocol witnesshandleOpenhelperhandleURLshelper used by iOS scene handling and testsapplication(_:open:options:)on iOS unchanged[google_sign_in] Remove the public iOS handleOpen helper (flutter#13273)
github-actions commentedon Oct 29, 2026
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 -vand a minimal reproduction of the issue.