logicalparadox / apnagent

Node.js adapter for Apple Push Notification (APN) Service.
http://logicalparadox.github.io/apnagent
216 stars 38 forks source link

createMessage - not catched error #10

Open AlexDag opened 10 years ago

AlexDag commented 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"

avmoraes commented 7 years ago

I get the same issue.