mrDoctorWho / ejabberd_mod_apns

An ejabberd module to send PUSH messages to iOS devices through APNS
MIT License
33 stars 19 forks source link

Not getting push notification #4

Closed piyush-singhal closed 8 years ago

piyush-singhal commented 8 years ago

I have copied .beam file in ebin folder and updated below configuration in ejabberd.yml

mod_apns: address: "gateway.sandbox.push.apple.com" port: 2195 certfile: "/var/www/html/cert.pem" keyfile: "/var/www/html/key.pem" password: "password"

And sending given stanza from ios application but still I am not getting any notification, could you please help me over this.

mrDoctorWho commented 8 years ago

I believe the issue related to this one: https://github.com/mrDoctorWho/ejabberd_mod_gcm/issues/6.

Please report if that so or not.

mrDoctorWho commented 8 years ago

The problem was that the key is encrypted (password-protected) and the module behaved wrong with such keys.

This behaviour is going to be fixed in the next commit.