I have failed to find a comprehensive tutorial for sending push notifications from a Meteor app. I understand that Meteor runs using node.js, so I have been following this highly referenced and recommended tutorial https://blog.engineyard.com/2013/developing-ios-push-notifications-nodejs but to no avail; upon deploying my app, it uploads but the website is then unresponsive (and given there are no errors with deployment, I cannot see where the problem lies, though I presume it has to do with how I'm organizing my files).
I have downloaded and loaded all of the certificates properly per the tutorial's instruction. I have used their example app to properly get my test device's ID. I just cannot figure out where to properly place additional files and dependencies given Meteor's folder configuration. How should it differ from the structure in the tutorial (in other words should this structure be placed inside of a folder within the .meteor
folder of my app)?
I think the overarching issue is that Meteor simply structures their apps differently than plain Node.js apps, and as such I need to be placing these certificates and dependencies in a specific folder, not just the main application folder with application.html
, application.js
, and application.css
.
apnagent
into a new Meteor package. See github.com/oortcloud/… – EpiceneUncaught TypeError: undefined is not a function
that I believe is referencingvar apn = Meteor.require('apnagent');
even though it's been downloaded as a dependency properly. Could this be the case? – Mebane