Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mac OSX support #1314

Open
champnic opened this issue May 21, 2021 · 35 comments
Open

Mac OSX support #1314

champnic opened this issue May 21, 2021 · 35 comments
Labels
feature request feature request tracked We are tracking this work internally.

Comments

@champnic
Copy link
Member

champnic commented May 21, 2021

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

Related
#645: Linux Support

AB#27336439

@champnic champnic added the feature request feature request label May 21, 2021
@captainjono
Copy link

Keen beta tester here for anything preview 🥇

@jwosty
Copy link

jwosty commented Jul 7, 2021

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!

@chris1000
Copy link

Has there been any updates to this?

@DominicFarrington
Copy link

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.

@captainjono
Copy link

captainjono commented Nov 2, 2021 via email

@vmeganathan81
Copy link

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

@ningccn
Copy link

ningccn commented May 20, 2022

@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!

@jwosty
Copy link

jwosty commented May 20, 2022

Fantastic news!

@arunvishy
Copy link

@ningccn Thanks for the news, any tentative timelines.

@vjpr
Copy link

vjpr commented Jul 25, 2022

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

From slides => 2023

@vmeganathan81
Copy link

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

@Danielx64
Copy link

Any updates? Also wanting to build something on mac too

@npolyak
Copy link

npolyak commented Dec 20, 2022

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

@champnic
Copy link
Member Author

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

@bobcarroll
Copy link

bobcarroll commented Feb 21, 2023

@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.

@jgoldhammer
Copy link

jgoldhammer commented Feb 28, 2023

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: ItzLevvie/MicrosoftTeams-msinternal#34

@xland
Copy link

xland commented May 27, 2023

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?

@koenvd
Copy link

koenvd commented Jun 12, 2023

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

@hjlld
Copy link

hjlld commented Jun 20, 2023

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

@eburnette
Copy link

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.

@Danielx64
Copy link

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?

@tinmac
Copy link

tinmac commented Jul 16, 2023

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.

@jwosty
Copy link

jwosty commented Jul 17, 2023

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.

@gilvbp
Copy link

gilvbp commented Jul 28, 2023

Any update? Thanks

@AGN1234
Copy link

AGN1234 commented Sep 1, 2023

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

@xland
Copy link

xland commented Sep 5, 2023

@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?

@vjpr
Copy link

vjpr commented Oct 6, 2023

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...

@gilvbp
Copy link

gilvbp commented Oct 6, 2023

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!

@Danielx64
Copy link

So how do I get my hands on it now?

@gilvbp
Copy link

gilvbp commented Oct 6, 2023

@Danielx64
Copy link

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

Sorry, I should have been more clear, I'm taking about webview2 for Mac so I can start building my Mac based application

@alexchandel
Copy link

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 would be preferable to install WebView2 globally on macOS, similar to how it functions on Windows. macOS already has great support for shared application frameworks (even multiple versions), so this shouldn't be a problem.

@awakecoding
Copy link

Any update on this? I've heard to new Windows App uses WebView2 under the hood, and it has a macOS version. Clearly there's a non-Windows WebView2 runtime being gradually adopted by first-party Microsoft applications, we're just here waiting for it to become available for everybody else.

@koenvd
Copy link

koenvd commented Jan 18, 2024

Wondering as well if there would be an update about this? Would be amazing news 😀.

@radiachkik
Copy link

Same here!

Just a regular reminder, showing there are quite some people interested. 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request feature request tracked We are tracking this work internally.
Projects
None yet
Development

No branches or pull requests