Ionic2 communication with Electron Main


Hi, I am new to Electron and am successfully getting an Ionic2 app to work in it.
However, I am stumped when it comes to getting IPC ( or alternative ) to communicate between the Ionic2 app’s js files and the Main Electron file.

Should I be sending via IPC, ipcRenderer or ipcMain?

Or something else entirely?


This is quite an old post, but did you find an answer to this? I have just asked the same thing here.