Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

createMessage - not catched error #10

Open
AlexDag opened this issue Apr 27, 2014 · 1 comment
Open

createMessage - not catched error #10

AlexDag opened this issue Apr 27, 2014 · 1 comment

Comments

@AlexDag
Copy link

AlexDag commented Apr 27, 2014

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
Copy link

I get the same issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants