Skip to content

[cocoon] Google Sign In button not showing up. #142195

@ditman

Description

@ditman

Steps to reproduce

Attempt to renderButton

Expected results

The Google SignIn renders.

Actual results

[GSI_LOGGER-TOKEN_CLIENT]: Instantiated.
Error: Assertion failed:
file:///usr/local/google/home/dit/.pub-cache/hosted/pub.dev/google_sign_in_web-0.12.3/lib/src/flexible_size_html_element_view.dar
t:109:12
root != null
"DOM is not ready for the FlexHtmlElementView"
dart-sdk/lib/_internal/js_dev_runtime/private/ddc_runtime/errors.dart 328:3  throw_
dart-sdk/lib/_internal/js_dev_runtime/private/ddc_runtime/errors.dart 38:3   assertFailed
packages/google_sign_in_web/src/flexible_size_html_element_view.dart 109:16  [_registerListeners]
packages/google_sign_in_web/src/flexible_size_html_element_view.dart 127:13  <fn>
dart-sdk/lib/_internal/js_dev_runtime/patch/async_patch.dart 84:54           runBody
dart-sdk/lib/_internal/js_dev_runtime/patch/async_patch.dart 127:5           _async
packages/google_sign_in_web/src/flexible_size_html_element_view.dart 126:39  <fn>
packages/flutter/src/widgets/_html_element_view_web.dart 65:30               <fn>
dart-sdk/lib/async/zone.dart 1661:54                                         runUnary
dart-sdk/lib/async/future_impl.dart 162:18                                   handleValue
dart-sdk/lib/async/future_impl.dart 838:44                                   handleValueCallback
dart-sdk/lib/async/future_impl.dart 867:13                                   _propagateToListeners
dart-sdk/lib/async/future_impl.dart 643:5                                    [_completeWithValue]
dart-sdk/lib/async/future_impl.dart 713:7                                    callback
dart-sdk/lib/async/schedule_microtask.dart 40:11                             _microtaskLoop
dart-sdk/lib/async/schedule_microtask.dart 49:5                              _startMicrotaskLoop
dart-sdk/lib/_internal/js_dev_runtime/patch/async_patch.dart 181:7           <fn>

Code sample

(See flutter/cocoon)

Screenshots or Video

No response

Logs

No response

Flutter Doctor output

(n/a)

Metadata

Metadata

Assignees

Labels

P1High-priority issues at the top of the work listc: regressionIt was better in the past than it is nowp: google_sign_inThe Google Sign-In pluginpackageflutter/packages repository. See also p: labels.platform-webWeb applications specificallyteam-infraOwned by Infrastructure team

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions