Skip to content

[webview_flutter][flutter_inappwebview] Update wv api usage for the latest engine - #1212

Merged
seungsoo47 merged 2 commits into
flutter-tizen:mainfrom
seungsoo47:fix/wv-superseded-apis
Nov 18, 2026
Merged

seungsoo47 merged 2 commits into
flutter-tizen:mainfrom
seungsoo47:fix/wv-superseded-apis

Conversation

@seungsoo47

Copy link
Copy Markdown
Contributor

The latest chromium engine supersedes several APIs and rejects NULL arguments that older engines accepted.
This pr updates both wv-based plugins accordingly.

  • Rename superseded wv apis to their replacements in the wrapper headers, the prebuilt wrapper libraries (libftpw_*.so), and the WV backends:
    • wv_view_cb → wv_view_event_cb
    • wv_view_add_cb → wv_view_add_event_cb
    • wv_view_remove_full_cb → wv_view_remove_event_cb
    • wv_context_cache_clear → wv_context_resource_cache_clear
  • Pass an empty string instead of NULL for wv_view_html_string_load's unreachable_url and wv_view_url_request_set's body, which fixes loadHtmlString/loadData and body-less loadRequest/loadUrl with the wv backend.

Version bumps:

  • webview_flutter_tizen: 0.12.0 → 0.12.1
  • flutter_inappwebview_tizen: 0.3.0 → 0.3.1

Rename the superseded WV APIs (wv_view_cb, wv_view_add_cb,
wv_view_remove_full_cb, wv_context_cache_clear) to their replacements
in the wrapper header, the prebuilt wrapper libraries, and the backend.

The latest engine rejects NULL for wv_view_html_string_load's
unreachable_url and wv_view_url_request_set's body. Pass an empty
string instead so loadHtmlString and body-less loadRequest work again.
Rename the superseded WV APIs (wv_view_cb, wv_view_add_cb,
wv_view_remove_full_cb, wv_context_cache_clear) to their replacements
in the wrapper header, the prebuilt wrapper libraries, and the backend.

The latest engine rejects NULL for wv_view_html_string_load's
unreachable_url and wv_view_url_request_set's body. Pass an empty
string instead so loadData and body-less loadUrl work again.
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 6, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-06T08:05:06.419125Z 3d056c5 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 3d056c5da6

ℹ️ About Codex in GitHub

Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".

@seungsoo47
seungsoo47 merged commit 5a4f876 into flutter-tizen:main Nov 18, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants