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

Ability to Enable Chrome Experimental Features: Web Share #252

Open
fromage9747 opened this issue Jul 10, 2023 · 0 comments
Open

Ability to Enable Chrome Experimental Features: Web Share #252

fromage9747 opened this issue Jul 10, 2023 · 0 comments

Comments

@fromage9747
Copy link

Is your feature request related to a problem? Please describe.
navigator.share() is not a supported function on Windows. Share API is not available in this browser on macOS.

When using Standalone Chrome and enabling the Web Share as per the below:

image

It works as expected.

When disabling it in the browser, I receive navigator.share() is not a supported function on Windows. Share API is not available in this browser on macOS. as in the Electron app.

Describe the solution you'd like
In normal Electron, using app.commandLine.appendSwitch('enable-features', 'WebShare'); should suffice to enable the Web-share functionality.

Describe alternatives you've considered
I have tried adding app.commandLine.appendSwitch('enable-features', 'WebShare'); in different areas of the setup.ts to no avail. The Share API is still not available in the Electron app.

I have also tried adding experimentalFeatures: true, in the new BrowserWindow() function, but this has not changed the result.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant