vnc_viewer 0.0.6
vnc_viewer: ^0.0.6 copied to clipboard
Flutter plugin for embedding an Android VNC client that renders remote desktops and sends keyboard and pointer input to VNC/RFB servers.
0.0.6 #
- Fix multiple Android crash paths that could occur when VNC initialization failed, including lifecycle races across native threads, JNI references, Flutter textures, and widget teardown.
- Ensure failed connections report
onErrorandonClosecleanly instead of leaving the viewer stuck in the loading state. - Change
VncViewerWidget.onStartto fire only after the native VNC connection actually succeeds, instead of when the event channel becomes ready. - Improve Android resource cleanup so textures, surfaces, sockets, and event sinks are released in a safer order across init failure, manual close, disconnect, and engine detach flows.
- Add a configurable connection timeout with a default timeout so failed or unreachable VNC hosts return faster instead of waiting on the platform default.
- Add more detailed Android-side lifecycle logs under the
libvncviewer_fluttertag to help diagnose connection, rendering, and cleanup issues in host apps. - Update the example app and widget status behavior so failed sessions show a clear error state and closed sessions show a closed state.
0.0.5 #
- Improve Android-side argument validation for VNC client initialization and control methods.
- Rework native client lifecycle handling to better clean up textures, surfaces, sockets, and event sinks.
- Improve widget lifecycle safety during async initialization, stream handling, error reporting, and duplicate close callbacks.
- Simplify the example app with form validation,
--dart-definesupport, connection status feedback, and a keyboard event example. - Add Dart-side tests covering
VncViewerHandeldelegation andMethodChannelVncViewermethod calls. - Align the package license with GPL-2.0-or-later.
- Rewrite
README.mdfor pub.dev with installation, Android setup, usage examples, API notes, and limitations.
0.0.4 #
- 修复崩溃日志保存路径问题
0.0.3 #
- 修复错误
0.0.2 #
- 兼容 3.19
0.0.1 #
- 初始化