So, here was a whole evening of debugging some code…. turns out sendNotification(message) does the same thing as sendPush(message)… only that’s not documented anywhere I can find. So, my function which I happened to name “sendNotification” would never run.
Just in case someone else happens to stumble across this…