flutter-plugins
flutter-plugins copied to clipboard
Warnings about Java applets
desktop_webview_window tries to enable Java applets, leading to this warning when running or building:
/Users/dukese01/.pub-cache/hosted/pub.dev/desktop_webview_window-0.2.3/macos/Classes/WebViewLayoutController.swift:90:39: warning: 'javaEnabled' was deprecated in macOS 10.15: Java is no longer supported
webView.configuration.preferences.javaEnabled = true
Reproduce Steps
Steps to reproduce the behavior:
- Add flutter_web_auth_2 (depends on desktop_webview_window)
- Build for macOS
- See warning
Expected behavior
Shouldn't try to enable Java applets.
https://github.com/MixinNetwork/flutter-plugins/blob/6c2845f959617afd0db70f19b3e3f4e946137ebc/packages/desktop_webview_window/macos/Classes/WebViewLayoutController.swift#L90
Version (please complete the following information):
- Flutter Version: 3.29.2
- OS: macOS
- plugin: desktop_webview_window