-
Notifications
You must be signed in to change notification settings - Fork 29.7k
Closed
Labels
P3Issues that are less important to the Flutter projectIssues that are less important to the Flutter projectc: regressionIt was better in the past than it is nowIt was better in the past than it is nowfound in release: 3.22Found to occur in 3.22Found to occur in 3.22found in release: 3.23Found to occur in 3.23Found to occur in 3.23has reproducible stepsThe issue has been confirmed reproducible and is ready to work onThe issue has been confirmed reproducible and is ready to work onp: google_sign_inThe Google Sign-In pluginThe Google Sign-In pluginpackageflutter/packages repository. See also p: labels.flutter/packages repository. See also p: labels.platform-webWeb applications specificallyWeb applications specificallyr: solvedIssue is closed as solvedIssue is closed as solvedteam-webOwned by Web platform teamOwned by Web platform teamtriaged-webTriaged by Web platform teamTriaged by Web platform team
Description
Steps to reproduce
Try to use google sign in plugin with latest version of it and use googleSignInPlugin.renderButton(configuration: html.getGoogleSignInButtonConfiguration(constraints.maxWidth))
Expected results
In version 3.16.0, I was able to see google sign In button but not in this version
Actual results
Button is not visible and I am getting this error in console
Code sample
Code sample
Expanded(
child: LayoutBuilder(
builder: (context, constraints) {
return SizedBox(
height: 48,
child: googleSignInPlugin
.renderButton(
configuration: html
.getGoogleSignInButtonConfiguration(
constraints.maxWidth),
),
);
}),
),Screenshots or Video
Screenshots / Video demonstration
[Upload media here]
Logs
Logs
Error
http://localhost:62424/dart-sdk/lib/_internal/js_dev_runtime/private/ddc_runtime/errors.dart 296:3 throw_
http://localhost:62424/dart-sdk/lib/_internal/js_dev_runtime/private/ddc_runtime/errors.dart 29:3 assertFailed
http://localhost:62424/packages/google_sign_in_web/src/flexible_size_html_element_view.dart 101:16 [_registerListeners]
http://localhost:62424/packages/google_sign_in_web/src/flexible_size_html_element_view.dart 117:13
http://localhost:62424/dart-sdk/lib/_internal/js_dev_runtime/patch/async_patch.dart 84:54 runBody
http://localhost:62424/dart-sdk/lib/_internal/js_dev_runtime/patch/async_patch.dart 127:5 _async
http://localhost:62424/packages/google_sign_in_web/src/flexible_size_html_element_view.dart 116:39
http://localhost:62424/packages/flutter/src/widgets/_html_element_view_web.dart 65:30
http://localhost:62424/dart-sdk/lib/async/zone.dart 1661:54 runUnary
http://localhost:62424/dart-sdk/lib/async/future_impl.dart 163:18 handleValue
http://localhost:62424/dart-sdk/lib/async/future_impl.dart 847:44 handleValueCallback
http://localhost:62424/dart-sdk/lib/async/future_impl.dart 876:13 _propagateToListeners
http://localhost:62424/dart-sdk/lib/async/future_impl.dart 652:5 [_completeWithValue]
http://localhost:62424/dart-sdk/lib/async/future_impl.dart 722:7 callback
http://localhost:62424/dart-sdk/lib/async/schedule_microtask.dart 40:11 _microtaskLoop
http://localhost:62424/dart-sdk/lib/async/schedule_microtask.dart 49:5 _startMicrotaskLoop
http://localhost:62424/dart-sdk/lib/_internal/js_dev_runtime/patch/async_patch.dart 181:7Flutter Doctor output
Doctor output
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 3.22.0, on macOS 14.4.1 23E224 darwin-arm64, locale en-IN)
[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
[!] Xcode - develop for iOS and macOS (Xcode 14.3)
! Flutter recommends a minimum Xcode version of 15.
Download the latest version or update via the Mac App Store.
[✓] Chrome - develop for the web
[✓] Android Studio (version 2023.3)
[✓] Connected device (4 available)
[✓] Network resources
! Doctor found issues in 1 category.
Metadata
Metadata
Assignees
Labels
P3Issues that are less important to the Flutter projectIssues that are less important to the Flutter projectc: regressionIt was better in the past than it is nowIt was better in the past than it is nowfound in release: 3.22Found to occur in 3.22Found to occur in 3.22found in release: 3.23Found to occur in 3.23Found to occur in 3.23has reproducible stepsThe issue has been confirmed reproducible and is ready to work onThe issue has been confirmed reproducible and is ready to work onp: google_sign_inThe Google Sign-In pluginThe Google Sign-In pluginpackageflutter/packages repository. See also p: labels.flutter/packages repository. See also p: labels.platform-webWeb applications specificallyWeb applications specificallyr: solvedIssue is closed as solvedIssue is closed as solvedteam-webOwned by Web platform teamOwned by Web platform teamtriaged-webTriaged by Web platform teamTriaged by Web platform team