Ionic2 communication with Electron Main


#1

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?