How to make a communication between Chrome extension and Electron app


#1

Hello there! I am a beginner in Electron. I have a question how can I create a communication between Chrome extension and Electron app to send some text. So, basically, Electron can call Chrome extension and alert text which Electron app sent. Is that possible to make? If it is, can you give me an example code, please?
Thanks.


#2

You might have better luck by asking Chrome extension developers if you can exchange messages with specific Chrome extensions from external software, because the answer from the Electron side is yes.


#3

Totally agreed with @DamnedScholar.

however, if your apps are always online. You can consider using web-socket or Cloud Messaging service such as Firebase https://firebase.google.com/ to do the communication.