@paviro said in Issue with sendSocketNotification and socketNotificationReceived:
Only had a quick look at your code but it seems like you are not sending anything from the UI JavaScript to the
node_helper
. In order for thenode_helper
to be able to communicate with the module’s JavaScript you have to open the socket connection by sending some kind of initial message to the helper first. So you can probably fix it by addingthis.sendSocketNotification("hello")
to thestart
function of yourlovenotes.js
.
Thank you! This helped a lot!!!