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
[✓] Flutter (Channel stable, 3.24.0, on macOS 14.4.1 23E224 darwin-arm64)
• Flutter version 3.24.0 on channel stable
• Upstream repository https://github.com/flutter/flutter.git
• Framework revision 80c2e84975 (11 days ago), 2024-07-30 23:06:49 +0700
• Engine revision b8800d88be
• Dart version 3.5.0
• DevTools version 2.37.2
Version
8.7.0
Flutter 3.24 introduced multiview support in web: https://docs.flutter.dev/platform-integration/web/embedding-flutter-web#enable-multi-view-mode.
This makes code that uses WidgetsBinding.instance.window incompatible with this Flutter version when multiview is enabled. Note that window getter was already marked as deprecated and warning is currently ignored in Sentry codebase:
Platform
Flutter Web
Obfuscation
Disabled
Debug Info
Disabled
Doctor
Version
8.7.0
Flutter 3.24 introduced multiview support in web: https://docs.flutter.dev/platform-integration/web/embedding-flutter-web#enable-multi-view-mode.
This makes code that uses
WidgetsBinding.instance.window
incompatible with this Flutter version when multiview is enabled. Note thatwindow
getter was already marked as deprecated and warning is currently ignored in Sentry codebase:sentry-dart/flutter/lib/src/widgets_binding_observer.dart
Lines 41 to 42 in 21562c5
Steps to Reproduce
Reproduction code: https://github.com/p-mazhnik/sentry-dart/tree/multiview-issue/flutter/example (based on
flutter/example
package from this repo)Expected Result
No error, app is launched successfully
Actual Result
App is not loaded, error in console
Are you willing to submit a PR?
None
The text was updated successfully, but these errors were encountered: