-->

How to run Native Messaging example on Microsoft E

2019-05-25 04:59发布

问题:

I want to run SecureInput example but after I built and deployed NativeMessagingInProcess project, Extension loaded on Edge but secureinput.html file don't load content.js file. And, I checked on regedit, nothing isn't added. Did I do anything wrong? This's very different from Chrome and Firefox Native messaging extension.

回答1:

Have you hosted secureinput.html in a web server? Have you run it on Windows 10 insider preview build? According to Microsoft Edge extension API roadmap, Native Messaging APIs are supported only on build 15002 and above version.



回答2:

I guess Native messaging works with using desktop bridge in window 10 anniversary, if you have window creators then desktop bridge wont be required. please correct me if I am wrong.



回答3:

Microsoft Edge Native messaging doesn't work in window 10 anniversary, the Native messaging APIs are not available until Window 10 Creators Update(15063). The desktop bridge is only needed when UWP app cannot meet your requirements.