I am using node.js (server framework) and mongoose.js (mongo based schema modeling) as the backend for an iOS app and I am using Mocha (test framwork) to make sure everything works.
What I really want to know, and can find no documentation on, is…
I have a requirement to implement the server side code for pushing notifications to an iOS app. I have followed this link.
The problem is I always get 'Insufficient credentials' message. I am using the apnagent node module.
Has anyone tried this…
I am trying to deliver push notification in my ios app and i user node.js. So I am followint the tutorial from the link: https://blog.engineyard.com/2013/developing-ios-push-notifications-nodejs.
In this tutorial they are keeping the passphrase for…
Doing this apnagent tutorial and I do not understand what is the purpose of 'piping' of setting values in the second line.
var apnagent = require('apnagent')
, agent = module.exports = new apnagent.Agent(); // <--- WHY this here
Especially I do…
Can you connect with apnagent only using a single .pem and passphrase? Or do I need a separate key .pem too?
I'm a little ignorant of the different cert files and their uses so I am not sure if my mistake is trying to only use the .pem file and a…
I'm developing a website , that should send push notifications to iOS devices. I followed this tutorial to send notifications. On my localhost apnagent works fine, but when I git push it to my Openshift cloud I get the following errors in the…
I'm using apnagent to send apns messages. After followed the tutorial, I didn't see anything about dealing with multiple device tokens.
I know we can do a loop easily but I want to know if there's a more efficient way to do this.
for(var i = 0; i <…