Skip to content

Commit

Permalink
Update webview_flutter to 4.2.3
Browse files Browse the repository at this point in the history
  • Loading branch information
Swanseo0 committed Sep 8, 2023
1 parent 6b28c3a commit 5e141ac
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 7 deletions.
6 changes: 5 additions & 1 deletion packages/webview_flutter/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
4 changes: 2 additions & 2 deletions packages/webview_flutter/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion packages/webview_flutter/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
5 changes: 2 additions & 3 deletions packages/webview_flutter/tizen/src/webview.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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_);
}
}
Expand Down Expand Up @@ -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<WebView*>(data);
std::string url = std::string(ewk_view_url_get(webview->webview_instance_));
flutter::EncodableMap args = {
Expand Down

0 comments on commit 5e141ac

Please sign in to comment.