From 5e141ac6e002126d6aad289ef6ba1da3957e858c Mon Sep 17 00:00:00 2001 From: "swan.seo" Date: Thu, 31 Aug 2023 02:04:47 +1100 Subject: [PATCH] Update webview_flutter to 4.2.3 --- packages/webview_flutter/CHANGELOG.md | 6 +++++- packages/webview_flutter/README.md | 4 ++-- packages/webview_flutter/pubspec.yaml | 2 +- packages/webview_flutter/tizen/src/webview.cc | 5 ++--- 4 files changed, 10 insertions(+), 7 deletions(-) diff --git a/packages/webview_flutter/CHANGELOG.md b/packages/webview_flutter/CHANGELOG.md index fe58788fe..4bbc7bd7d 100644 --- a/packages/webview_flutter/CHANGELOG.md +++ b/packages/webview_flutter/CHANGELOG.md @@ -1,5 +1,9 @@ -## NEXT +## 0.8.0 +* Update webivew_flutter to 4.2.3. +* Update webview_flutter_platform_interface to 2.3.0. +* Update integration_test. +* Implement `NavigationDelegate(onUrlChange)`. * Increase the minimum Flutter version to 3.3. ## 0.7.1 diff --git a/packages/webview_flutter/README.md b/packages/webview_flutter/README.md index cab6b438b..c4f668d34 100644 --- a/packages/webview_flutter/README.md +++ b/packages/webview_flutter/README.md @@ -22,8 +22,8 @@ This package is not an _endorsed_ implementation of `webview_flutter`. Therefore ```yaml dependencies: - webview_flutter: ^4.0.2 - webview_flutter_tizen: ^0.7.1 + webview_flutter: ^4.2.3 + webview_flutter_tizen: ^0.8.0 ``` ## Example diff --git a/packages/webview_flutter/pubspec.yaml b/packages/webview_flutter/pubspec.yaml index 3fd17a5e7..d3becad4e 100644 --- a/packages/webview_flutter/pubspec.yaml +++ b/packages/webview_flutter/pubspec.yaml @@ -2,7 +2,7 @@ name: webview_flutter_tizen description: Tizen implementation of the webview_flutter plugin. homepage: https://github.com/flutter-tizen/plugins repository: https://github.com/flutter-tizen/plugins/tree/master/packages/webview_flutter -version: 0.7.1 +version: 0.8.0 environment: sdk: ">=2.18.0 <4.0.0" diff --git a/packages/webview_flutter/tizen/src/webview.cc b/packages/webview_flutter/tizen/src/webview.cc index 560670cef..abd15aa13 100644 --- a/packages/webview_flutter/tizen/src/webview.cc +++ b/packages/webview_flutter/tizen/src/webview.cc @@ -166,7 +166,7 @@ void WebView::Dispose() { "policy,navigation,decide", &WebView::OnNavigationPolicy); evas_object_smart_callback_del(webview_instance_, "url,changed", - &WebView::OnUrlChange); + &WebView::OnUrlChange); evas_object_del(webview_instance_); } } @@ -669,8 +669,7 @@ void WebView::OnNavigationPolicy(void* data, Evas_Object* obj, std::move(result)); } -void WebView::OnUrlChange(void* data, Evas_Object* obj, - void* event_info) { +void WebView::OnUrlChange(void* data, Evas_Object* obj, void* event_info) { WebView* webview = static_cast(data); std::string url = std::string(ewk_view_url_get(webview->webview_instance_)); flutter::EncodableMap args = {