Closed l4zl0w closed 9 years ago
What exactly happens when you run the code, and what did you expect to happen?
I'm trying to capture the messages that were successfully sent. So I can update the statuses in my database. But I can't access the deliveredGCMNotificationIds array or the platform variable within the callback. Am I doing something wrong? Many thanks
Figured it. Had to bind the arguments to the callback.
I'm inexperienced with JS but I used other libraries and never met this problem before.
I'm trying to capture the messages that are successfully sent in the callback but I can't seem to access any variables from within the callback function of the send.
Is this an issue with this particular library or the problem is with my code?