Skip to content

[google_sign_in_web] googleSignIn.signIn() hangs forever if can't connect to apis.google.com #70427

@treeder

Description

@treeder

Steps to Reproduce

  1. In Chrome dev tools, add apis.google.com in "Network request blocking" tab
  2. call: var user = await googleSignIn.signIn()

Nothing will happen and it will never return.

Expected results:

Expect an error.

Actual results:

Nothing, it never returns. eg:

print("before signIn");
user = await _googleSignIn.signIn();
print("after signIn");

"after signIn" never prints and no error is thrown.

Metadata

Metadata

Labels

P2Important issues not at the top of the work listfound in release: 3.3Found to occur in 3.3found in release: 3.7Found to occur in 3.7has reproducible stepsThe issue has been confirmed reproducible and is ready to work onp: google_sign_inThe Google Sign-In pluginpackageflutter/packages repository. See also p: labels.platform-webWeb applications specificallyteam-webOwned by Web platform teamtriaged-webTriaged by Web platform team

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions