MixinNetwork / MixinNetwork/flutter-plugins
Warnings about Java applets
Nobody has claimed this yet.
- Dominant language
- C
- Stars
- 512
- Forks
- 292
- Avg merge
- 15h 8m
- Merged PRs (30d)
- 7
Description
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.
Version (please complete the following information):
- Flutter Version: 3.29.2
- OS: macOS
- plugin: desktop_webview_window
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Inspect macos/Classes/WebViewLayoutController.swift at the reported line where javaEnabled is set. Build the desktop_webview_window plugin for macOS and confirm the Java applet warning is reproduced. Done means the plugin no longer attempts to enable Java applets and the warning no longer appears.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- flutter, macos, swift
- Domain
- desktop-dev
- Issue type
- Bug
- Difficulty
- 1/5
- Estimated time
- Under an hour
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 68/100