From 041e9d6bd7c55720359dfe31411c6fbace9126e7 Mon Sep 17 00:00:00 2001 From: JunsuChoi Date: Tue, 24 Nov 2026 18:42:54 +0900 Subject: [PATCH] [flutter_inappwebview] Enable Tcore in WV standalone On Tizen 11.0, WV standalone defaults to reading Elementary gesture settings during wv_view_create(). API 11.0 apps use the Tcore Flutter host, so elm_config_longpress_timeout_get() dereferences an uninitialized configuration and crashes. With --enable-tcore, the API 11.0 example loads local HTML and reads the DOM on the x64 emulator. Standalone selection follows platform version, so API 8.0 apps also receive the flag on Tizen 11.0. The API 8.0 example passes the same check with an Ecore Flutter host and Chromium in Tcore mode in the same process. --- packages/flutter_inappwebview/tizen/src/wv_webview_backend.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/flutter_inappwebview/tizen/src/wv_webview_backend.cc b/packages/flutter_inappwebview/tizen/src/wv_webview_backend.cc index 8fdc0a5a7..a9941fc73 100644 --- a/packages/flutter_inappwebview/tizen/src/wv_webview_backend.cc +++ b/packages/flutter_inappwebview/tizen/src/wv_webview_backend.cc @@ -82,6 +82,7 @@ bool WvWebViewBackend::GlobalInitialize(bool standalone) { }; if (standalone) { argv.push_back("--enable-wv-standalone"); + argv.push_back("--enable-tcore"); } int result = ftpw_flutter_inappwebview_wv_set_arguments( static_cast(argv.size()), argv.data());