Open AlexDag opened 10 years ago
I have this message on "createMessage" "not cathed error: [TypeError: undefined is not a function]" but push sended and received well. What is happened?
self.apnagent.createMessage() .device(device) .alert(message) .badge(badge) .sound('default') .set('operation',operation) .send(function (err) { // handle apnagent custom errors if (err) { console.error('send push error:',err); } }); err - always "undefined"
I get the same issue.
I have this message on "createMessage" "not cathed error: [TypeError: undefined is not a function]" but push sended and received well. What is happened?
self.apnagent.createMessage() .device(device) .alert(message) .badge(badge) .sound('default') .set('operation',operation) .send(function (err) { // handle apnagent custom errors if (err) { console.error('send push error:',err); } }); err - always "undefined"