Open gedw99 opened 3 years ago
Honestly, I have no plans to introduce Linux/macOS support. First, as you said, I don't have any macOS. Second, the gowebview was designed to be used in one specific commercial app, which less than 1% of our users uses Linux, macOS, and ChromeOS combined.
I want to add the iOS support at some point, maybe until the end of this year, when I get some macOS to play. Currently, my priority is Windows and Android, which covers 70% of our target audience.
I think you can use the webview/webview on macOS, and it should work with Gio (but I don't know). If you want both (say Android and macOS) you can create your own interface, then use something like webview_android.go
and webview_darwin.go
, and each one uses a different webview.
I'm working on iOS, maybe I add some support for MacOS in the future (or if it's easy to port to MacOS), see https://app.slack.com/client/T029RQSE6/CM87SNCGM/thread/CM87SNCGM-1636050458.077500.
thanks for the message. Really well done !!!
I am working on adding Printing for all gio compile targets. Your work on getting webview working will be a good example for me.
@Inkeliz
are you on intel or apple silicone mac now?
i can cross test on both as i am getting Mac M1 soon.
I'm using Apple M1, I don't have any Intel CPU (either MacOS or not 😂).
I have an Intel based mac, so can help test if needed.
I made another package for iOS, macOS, Android, Windows, WebAssembly: https://github.com/inkeliz/giowebview. In the future, gowebview will be just an wrapper for giowebview.
Currently, GioWebview package may not work. It requires some changes on Gio (https://github.com/gioui/gio/pulls), related to focus and FrameLayout. I'm not sure what is the minimum macOS version required and that is something that I'll take a look in the future.
ok thanks !!
I am wanting to use this with a gio app and was hoping that Darwin support would be possible ?
it seems that the lib that needs to be invoked at runtime is already there and what remains is for a version of the golang code with the “Darwin” build tags.
@Inkeliz i presume the only thing holding this back from Darwin support is that your not on a Nac and so can’t develop for it ?