From 60ea63f3199f244d8fec12bbde35b98348c85e44 Mon Sep 17 00:00:00 2001 From: Seungsoo Lee Date: Wed, 23 Jul 2025 18:29:12 +0900 Subject: [PATCH 1/4] [webview_flutter_lwe] Fix bugs for Tizen 10.0 support --- packages/webview_flutter_lwe/tizen/project_def.prop | 2 +- packages/webview_flutter_lwe/tizen/src/buffer_pool.h | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/webview_flutter_lwe/tizen/project_def.prop b/packages/webview_flutter_lwe/tizen/project_def.prop index a829de74d..8e7487a61 100644 --- a/packages/webview_flutter_lwe/tizen/project_def.prop +++ b/packages/webview_flutter_lwe/tizen/project_def.prop @@ -21,5 +21,5 @@ USER_CPP_INC_FILES = # Linker options USER_LIB_DIRS = lib/${BUILD_ARCH} -USER_LIBS = pthread lightweight-web-engine.flutter tuv lightweight-web-engine.flutter-impl +USER_LIBS = pthread stdc++ lightweight-web-engine.flutter tuv lightweight-web-engine.flutter-impl USER_LFLAGS = -Wl,-rpath='$$ORIGIN' diff --git a/packages/webview_flutter_lwe/tizen/src/buffer_pool.h b/packages/webview_flutter_lwe/tizen/src/buffer_pool.h index e648a7fe9..831da31d9 100644 --- a/packages/webview_flutter_lwe/tizen/src/buffer_pool.h +++ b/packages/webview_flutter_lwe/tizen/src/buffer_pool.h @@ -8,6 +8,7 @@ #include #include +#include #include #include #include From b2a6cb8bf70b11b98462368ba787d171cd481559 Mon Sep 17 00:00:00 2001 From: Seungsoo Lee Date: Wed, 23 Jul 2025 19:25:59 +0900 Subject: [PATCH 2/4] Apply suggestions from code review --- packages/webview_flutter_lwe/tizen/src/buffer_pool.cc | 1 + packages/webview_flutter_lwe/tizen/src/buffer_pool.h | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/webview_flutter_lwe/tizen/src/buffer_pool.cc b/packages/webview_flutter_lwe/tizen/src/buffer_pool.cc index 7e3a2dd0e..f1f657ec8 100644 --- a/packages/webview_flutter_lwe/tizen/src/buffer_pool.cc +++ b/packages/webview_flutter_lwe/tizen/src/buffer_pool.cc @@ -114,6 +114,7 @@ void SingleBufferPool::Release(BufferUnit* buffer) {} #ifndef NDEBUG #include +#include void BufferUnit::DumpToPng(int file_name) { char file_path[256]; sprintf(file_path, "/tmp/dump%d.png", file_name); diff --git a/packages/webview_flutter_lwe/tizen/src/buffer_pool.h b/packages/webview_flutter_lwe/tizen/src/buffer_pool.h index 831da31d9..e648a7fe9 100644 --- a/packages/webview_flutter_lwe/tizen/src/buffer_pool.h +++ b/packages/webview_flutter_lwe/tizen/src/buffer_pool.h @@ -8,7 +8,6 @@ #include #include -#include #include #include #include From 2e4fad09cefdc2f4a1249df2aac958914cb38965 Mon Sep 17 00:00:00 2001 From: Seungsoo Lee Date: Wed, 23 Jul 2025 19:37:08 +0900 Subject: [PATCH 3/4] Update plugin's version to 0.3.9 --- packages/webview_flutter_lwe/CHANGELOG.md | 3 ++- packages/webview_flutter_lwe/README.md | 2 +- packages/webview_flutter_lwe/pubspec.yaml | 2 +- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/packages/webview_flutter_lwe/CHANGELOG.md b/packages/webview_flutter_lwe/CHANGELOG.md index d442efbfc..cff9a82f5 100644 --- a/packages/webview_flutter_lwe/CHANGELOG.md +++ b/packages/webview_flutter_lwe/CHANGELOG.md @@ -1,6 +1,7 @@ -## NEXT +## 0.3.9 * Update code format. +* Fix bugs for Tizen 10.0 support ## 0.3.8 diff --git a/packages/webview_flutter_lwe/README.md b/packages/webview_flutter_lwe/README.md index b4b52911b..1b232e52f 100644 --- a/packages/webview_flutter_lwe/README.md +++ b/packages/webview_flutter_lwe/README.md @@ -21,7 +21,7 @@ This package is not an _endorsed_ implementation of `webview_flutter`. Therefore ```yaml dependencies: webview_flutter: ^4.10.0 - webview_flutter_lwe: ^0.3.8 + webview_flutter_lwe: ^0.3.9 ``` ## Example diff --git a/packages/webview_flutter_lwe/pubspec.yaml b/packages/webview_flutter_lwe/pubspec.yaml index 82226c249..ec1e342e5 100644 --- a/packages/webview_flutter_lwe/pubspec.yaml +++ b/packages/webview_flutter_lwe/pubspec.yaml @@ -2,7 +2,7 @@ name: webview_flutter_lwe description: Tizen implementation of the webview_flutter plugin backed by Lightweight Web Engine. homepage: https://github.com/flutter-tizen/plugins repository: https://github.com/flutter-tizen/plugins/tree/master/packages/webview_flutter_lwe -version: 0.3.8 +version: 0.3.9 environment: sdk: ^3.5.0 From 7be671d531dabaf7a8b5bc1025b1e4c5172d8c00 Mon Sep 17 00:00:00 2001 From: Seungsoo Lee Date: Wed, 23 Jul 2025 19:46:38 +0900 Subject: [PATCH 4/4] Fix code format --- packages/webview_flutter_lwe/tizen/src/buffer_pool.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/webview_flutter_lwe/tizen/src/buffer_pool.cc b/packages/webview_flutter_lwe/tizen/src/buffer_pool.cc index f1f657ec8..ab4a9f973 100644 --- a/packages/webview_flutter_lwe/tizen/src/buffer_pool.cc +++ b/packages/webview_flutter_lwe/tizen/src/buffer_pool.cc @@ -114,6 +114,7 @@ void SingleBufferPool::Release(BufferUnit* buffer) {} #ifndef NDEBUG #include + #include void BufferUnit::DumpToPng(int file_name) { char file_path[256];