Migrate from electron webview tag to electron BrowserView #819
balajiv113
started this conversation in
Ideas
Replies: 1 comment 2 replies
|
@balajiv113 - could you try to work on this before the internal server? This seems more pressing and will limit our ability to upgrade electron (core) itself. |
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Problem Description
Currently the core code for displaying services is done by using webview tag.
https://www.electronjs.org/docs/latest/api/webview-tag#warning
Also the chromium source of webview tag state its deprecated
https://developer.chrome.com/docs/extensions/reference/webviewTag/
electron/electron#34356
Affected Code
All the usages of dependency react-electron-web-view is affected
Proposed Solution
The preferred solution would be to use BrowserView as a replacement for this
https://www.electronjs.org/docs/latest/api/browser-view
Alternatives Considered
Some other alternates would be,
using iframe (which doesn't look simpler)
All reactions