Skip to content

Implement iframe fallback for webview on OHOS platform - #99

Merged
SWangHash merged 2 commits into
mainfrom
rebase
Jun 17, 2026
Merged

SWangHash merged 2 commits into
mainfrom
rebase

Conversation

@SWangHash

Copy link
Copy Markdown
Owner

Summary

Fixes #

Type and Areas

Type:

Areas:

Motivation / Impact

Verification

Reviewer Notes

Checklist

  • This PR is focused and does not include secrets, temporary prompts, generated scratch files, or unrelated artifacts.
  • Relevant verification is recorded above, or skipped checks are explained.
  • User-facing strings, docs, and locales are updated where applicable.

OHOS platform does not support embedded webview creation via Tauri API.
Added automatic fallback to iframe mode when webview API is detected as
unavailable, allowing browser scene and panel to work on OHOS.
When webviewUnavailable is set, loadUrl should skip webview creation
attempt and let iframe handle URL navigation directly.
@SWangHash
SWangHash merged commit e879db6 into main Jun 17, 2026
1 check failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant