electron: [Bug]: setAsDefaultProtocolClient tel does not work on Windows 10

Preflight Checklist

Electron Version

23.1.4, originally reported in v2.0.5

What operating system are you using?

Windows

Operating System Version

Windows 10 Build 19044

What arch are you using?

x64

Last Known Working Electron version

No response

Expected Behavior

Using app.setAsDefaultProtocolClient('tel'); should register the application to receive tel: style hyperlinks from web browsers and similar. Within Windows it should appear in the list of available applications to receive this.

Actual Behavior

Application does not appear in list of available items to open tel: hyperlinks

Testcase Gist URL

https://gist.github.com/PeteAUK/18b9b6e87736d3e1e965121303d4e3e2

Additional Information

This is a duplicate of https://github.com/electron/electron/issues/14108, however this still does not work despite updating to the very latest version of electron. All suggestions point to using registry hacks to achieve the desired result, however in my case the user may not have local admin rights and this functionality is meant to be available out of the box.

About this issue

  • Original URL
  • State: closed
  • Created 4 years ago
  • Reactions: 3
  • Comments: 19 (2 by maintainers)

Most upvoted comments

Two months on from my last nudge. Quite astounding this hasn’t had a comment other than mine for eight months!