WebView2Feedback icon indicating copy to clipboard operation
WebView2Feedback copied to clipboard

Mac OSX support

Open champnic opened this issue 4 years ago • 40 comments
trafficstars

Is your feature request related to a problem? Please describe. Add support for WebView2 on Mac OSX.

Related #645: Linux Support

AB#27336439

champnic avatar May 21 '21 18:05 champnic

Keen beta tester here for anything preview 🥇

captainjono avatar Jun 17 '21 07:06 captainjono

This would be a serious game changer for those of us who want to build cross-platform electron-like apps with .NET. Currently, there isn't really a good macOS CEF binding for .NET out there, so we have to resort to using Apple's built-in WKWebView, which ends up behaving differently at times because it's a different browser (not Chromium).

Interstellar is very very interested in this.

Having WebView2 for macOS would be seriously amazing. Please please please!

jwosty avatar Jul 07 '21 15:07 jwosty

Has there been any updates to this?

chris1000 avatar Oct 31 '21 23:10 chris1000

It's still marked on the roadmap: https://docs.microsoft.com/en-us/microsoft-edge/webview2/roadmap.

We also need this feature; so would be nice to have a timeline.

DominicFarrington avatar Nov 02 '21 02:11 DominicFarrington

I got word from inside MS on the Roadmap being first release expected around Oct `22.

On Tue, Nov 2, 2021 at 1:59 PM DominicFarrington @.***> wrote:

It's still marked on the roadmap: https://docs.microsoft.com/en-us/microsoft-edge/webview2/roadmap.

We also need this feature; so would be nice to have a timeline.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/MicrosoftEdge/WebView2Feedback/issues/1314#issuecomment-957055347, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABOPWTXBBHCJUM3GIFNZIDDUJ5HZNANCNFSM45JV57BQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

captainjono avatar Nov 02 '21 03:11 captainjono

@champnic ... do you have any idea by when we could expect this for macOC ?

vmeganathan81 avatar Apr 07 '22 13:04 vmeganathan81

@vmeganathan81 we are actively working on the WebView2 macOS support towards the future public developer release. We will keep you posted for updates here, stay tuned!

ningccn avatar May 20 '22 14:05 ningccn

Fantastic news!

jwosty avatar May 20 '22 17:05 jwosty

@ningccn Thanks for the news, any tentative timelines.

arunvishy avatar May 23 '22 13:05 arunvishy

https://twitter.com/msedgedev/status/1532450628256948224

From slides => 2023

vjpr avatar Jul 25 '22 08:07 vjpr

@champnic ... could we get beta release of webview2 in macOS so we can start some work on it?

vmeganathan81 avatar Oct 14 '22 16:10 vmeganathan81

Any updates? Also wanting to build something on mac too

Danielx64 avatar Dec 11 '22 08:12 Danielx64

Friends, any updates for Mac and Linux????????

npolyak avatar Dec 20 '22 21:12 npolyak

No updates since @ningccn's comment above. We are continuing to make progress on Mac and haven't begun Linux planning yet.

champnic avatar Jan 10 '23 18:01 champnic

@champnic That seems to be the perpetual response with the Linux client. It lags behind the Windows client with inconsistent feature updates, bugs, no release notes, and no timelines. I'm happy there's even a Linux client at all, but it would be nice if Microsoft gave it some love.

Edit: Sorry, I just realized this feedback is specifically for Edge and not Teams. It's even more disappointing Teams would switch to WebView2 when it isn't yet supported on macOS or Linux.

bobcarroll avatar Feb 21 '23 16:02 bobcarroll

It seems that a new pre version of Teams with Webview2 for macOS is landed in following github project https://github.com/ItzLevvie/MicrosoftTeams-msinternal. Currently I cannot use it as noted here: https://github.com/ItzLevvie/MicrosoftTeams-msinternal/issues/34

jgoldhammer avatar Feb 28 '23 10:02 jgoldhammer

WebView2 now use COM(IDL) to call native-side code from web-side code. I wonder how this part will be migrated to Mac system. That's a real concern for developers, isn't it?

xland avatar May 27 '23 08:05 xland

Wondering if there's an update here? Thanks!!

koenvd avatar Jun 12 '23 17:06 koenvd

@champnic Any news about mac support?I'm thirsty for rebuilding my electron app with webview2.

hjlld avatar Jun 20 '23 09:06 hjlld

I need to write an app that works on Windows and Mac. I'd like to use WebView2; while we're waiting for Mac support do you have any pointers on a solution that would let me reuse as much code as possible? For example, Chromium Embedded Framework (CEF), WebKit, and Qt WebEngine have come up as possibilities. Also, I understand you can use Electron with an embedded WebView2 when on Windows, but that sounds heavy.

eburnette avatar Jul 15 '23 15:07 eburnette

I need to write an app that works on Windows and Mac. I'd like to use WebView2; while we're waiting for Mac support do you have any pointers on a solution that would let me reuse as much code as possible? For example, Chromium Embedded Framework (CEF), WebKit, and Qt WebEngine have come up as possibilities. Also, I understand you can use Electron with an embedded WebView2 when on Windows, but that sounds heavy.

I looked at CEF but the 2 downers for me was that there's no AllowSingleSignOnUsingOSPrimaryAccount option replacement and the runtime is huge, much bigger than my app itself.

Is WebKit even on windows? Qt I think is paid?

Danielx64 avatar Jul 15 '23 22:07 Danielx64

I need to write an app that works on Windows and Mac. I'd like to use WebView2; while we're waiting for Mac support do you have any pointers on a solution that would let me reuse as much code as possible? For example, Chromium Embedded Framework (CEF), WebKit, and Qt WebEngine have come up as possibilities. Also, I understand you can use Electron with an embedded WebView2 when on Windows, but that sounds heavy.

Not strictly web tech but you could take a look at .Net MAUI, you would need C# & XAML knowledge.

tinmac avatar Jul 16 '23 07:07 tinmac

I need to write an app that works on Windows and Mac. I'd like to use WebView2; while we're waiting for Mac support do you have any pointers on a solution that would let me reuse as much code as possible? For example, Chromium Embedded Framework (CEF), WebKit, and Qt WebEngine have come up as possibilities. Also, I understand you can use Electron with an embedded WebView2 when on Windows, but that sounds heavy.

@eburnette Unfortunately there just isn't a good CEF binding that works on macOS, and I'm saying this as someone who is heavily invested in it. The best approach I can come up with is still Apple's WKWebView, if you can tolerate using a different browser engine. There's also https://www.nuget.org/packages/WebkitGtkSharp, part of the GtkSharp ports to .NET Core (I know it works on macOS and Linux; I think it even works on Windows) - it's promising, but not fully completed.

jwosty avatar Jul 17 '23 17:07 jwosty

Any update? Thanks

gilvbp avatar Jul 28 '23 23:07 gilvbp

Hello, @ningccn just checking if there's an update for supporting mac

AGN1234 avatar Sep 01 '23 21:09 AGN1234

@ningccn @champnic

I don't want to rush you to support for Mac OSX. I just want to know if there will be destructive updates when support for Mac OSX.

WebView2 now use COM(IDL) to call native-side code from web-side code. I wonder how this part will be migrated to Mac system. That's a real concern for developers, isn't it?

xland avatar Sep 05 '23 01:09 xland

New Microsoft Teams claims to use WebView2 now. Does this mean WebView2 is now running on macOS?

Macs don't benefit quite as much from the new app since, unlike Windows, they don't have any of the Edge WebView2 files built-in—a WebView2 app on macOS is a lot like an Electron app, in that it includes its own dependencies and needs to update them separately from other WebView2 apps on the same system. But Microsoft still says the new app should improve Mac performance by making it faster to switch channels, improving scrolling performance, more efficiently using device resources, and optimizing the "Teams experience even when using multiple high-resolution monitors during calls or meetings."

https://arstechnica.com/gadgets/2023/10/rebuilt-microsoft-teams-app-promises-twice-the-speed-and-half-the-ram-usage/

This doesn't seem to be such an issue, essentially its just the fixed version runtime model: https://learn.microsoft.com/en-us/microsoft-edge/webview2/concepts/distribution#the-fixed-version-runtime-distribution-mode

There is now /Applications/Microsoft Teams (work or school).app/Contents/Frameworks/MSWebView2.framework...

vjpr avatar Oct 06 '23 17:10 vjpr

New Microsoft Teams claims to use WebView2 now. Does this mean WebView2 is now running on macOS?

Macs don't benefit quite as much from the new app since, unlike Windows, they don't have any of the Edge WebView2 files built-in—a WebView2 app on macOS is a lot like an Electron app, in that it includes its own dependencies and needs to update them separately from other WebView2 apps on the same system. But Microsoft still says the new app should improve Mac performance by making it faster to switch channels, improving scrolling performance, more efficiently using device resources, and optimizing the "Teams experience even when using multiple high-resolution monitors during calls or meetings."

https://arstechnica.com/gadgets/2023/10/rebuilt-microsoft-teams-app-promises-twice-the-speed-and-half-the-ram-usage/

This doesn't seem to be such an issue, essentially its just the fixed version runtime model: https://learn.microsoft.com/en-us/microsoft-edge/webview2/concepts/distribution#the-fixed-version-runtime-distribution-mode

There is now /Applications/Microsoft Teams (work or school).app/Contents/Frameworks/MSWebView2.framework...

It's out! Finally!

image

@AGN1234 @npolyak @jgoldhammer @koenvd @Danielx64 @DominicFarrington @chris1000

@champnic Congrats! Awesome work!

gilvbp avatar Oct 06 '23 18:10 gilvbp

So how do I get my hands on it now?

Danielx64 avatar Oct 06 '23 20:10 Danielx64

So how do I get my hands on it now?

It´s just like Windows.

Follow these procedures:

https://support.microsoft.com/en-au/office/get-early-access-to-new-features-in-microsoft-teams-a6e387fe-1cad-4f90-ad78-1a311c77b36d

and after that:

https://support.microsoft.com/en-us/office/switch-to-the-new-microsoft-teams-2d4a0c96-fa52-43f8-a006-4bfbc62cf6c5

gilvbp avatar Oct 06 '23 20:10 gilvbp