sony / flutter-elinux-plugins

Flutter plugins for embedded Linux (eLinux)
BSD 3-Clause "New" or "Revised" License
45 stars 24 forks source link

WebView #5

Open HidenoriMatsubayashi opened 3 years ago

HidenoriMatsubayashi commented 3 years ago

Create WebView plugin

thomtomdup commented 1 year ago

Hello.

Have you work on this plugin ? If yes, does it have some documention about it ? Thank you. Regards.

HidenoriMatsubayashi commented 1 year ago

Sorry for no updates here. Platform view plugin is almost ready, but a problem is that I don't know what webview library can be used with elinux.

LNAhri commented 10 months ago

Currently trying to get this to work under ubuntu https://github.com/hlwhl/webview_cef. After some Mods it worked. But could this also be used here maybe? thx ^^

HidenoriMatsubayashi commented 10 months ago

Great new! I would like to try that for flutter-elinux. I'm not familiar with CEF, but it requires to install Chromium? or what kind of libraries does it require?

LNAhri commented 10 months ago

Actually it compiles with flutter from pre-prepared Libraries. https://github.com/hlwhl/webview_cef/tree/linux You can see the Linux Related Stuff done here. Prebuilt CEF/chromium stuff should be here https://github.com/hlwhl/webview_cef/releases . But also it seems like the Developers left the Project :( or didn't continued.

Sorry I'm currently trying to get into the more hardware related c++ and c stuff and I'm just puzzling around currently.

The other projects I found where e.g. https://pub.dev/packages/desktop_webview_window but they all the time opened a new Window and didn't rendered the content as inline as a Widget. And then also there we're problems with compatibility from some websites etc...

So can you maybe say more in such cases or say if it makes sense to invest more time into CEF/Chromium or more the "standard" libs like WebKitGTK?

LNAhri commented 10 months ago

This is btw my working version https://gitlab.cloud.ln-c.net/LNCrafty/linux_cef_test it should just work when you run it under linux with flutter run

HidenoriMatsubayashi commented 10 months ago

Thanks for the information.

Currently trying to get this to work under ubuntu https://github.com/hlwhl/webview_cef.

I'm looking forward to seeing it :)

HidenoriMatsubayashi commented 10 months ago

I tried https://github.com/hlwhl/webview_cef/tree/linux, and it worked fine :)

スクリーンショット 2023-11-11 4 50 54

What is the difference between https://github.com/hlwhl/webview_cef and your https://gitlab.cloud.ln-c.net/LNCrafty/linux_cef_test?

LNAhri commented 10 months ago

Nothing. Mine is also only a test how I got it to work ^^

And nice ^^.

HidenoriMatsubayashi commented 8 months ago

https://pub.dev/packages/flutter_linux_webview also uses CEF. It's same approach as https://github.com/hlwhl/webview_cef/tree/linux), but flutter_linux_webview seems to support arm64.