Hi @Myer, did you make it work on windows? I have tried using registry or making NativeMessagingHost inside user-data-dir, neither of them works. I didn't get the message of "
Can't find manifest for native messaging host...", it just disconnect after calling
chrome.runtime.connectNative('com.my_company.my_application')
The same code works fine in chrome extension or app.
I also tried sending message without creating a port:
chrome.runtime.sendNativeMessage('com.my_company.my_application',
{ text: "Hello" },
function(response) {
console.log("Received " + response);
});I got the "Received undefined" in the console.
Is there something I've missed?
If you ever make it work on windows, please let me know. Thanks in advance.