How to run Native Messaging example on Microsoft Edge?

孤街浪徒 提交于 2019-12-07 23:49:17

问题


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.



来源:https://stackoverflow.com/questions/42970865/how-to-run-native-messaging-example-on-microsoft-edge

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!