ejabberd and Push Notification
Please use the below blog , it is very simple and useful, it is works fine for me.
http://symmetricinfinity.com/2013/01/23/ios-push-notifications-from-ejabberd.html
There is no ejabberd plugin for apns or gcm. I think you have two main options here:
Use
mod_offline_post
module which will sendPOST
request on given url. Then you can use any existing backend language to process both apns and gcm (I am using rails as backend anyway so this is only one more enpoint to handle it).Based on
mod_offline_post
, create your own module which will send push notifications instead ofPOST
request. There are few examples and libraries which implements apns and gcm. I.e. apns4erl for apns and this code for gcm. But for that of course it would be good to know some erlang.