mrDoctorWho / ejabberd_mod_apns

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

Does this module support for Pushkit #5

Closed techwizardg closed 7 years ago

techwizardg commented 8 years ago

I assume this module works for normal push notifications. Will it work for Pushkit? The biggest advantage of VoIP Push Notifications over regular ones is that that the app gets relaunched if it was force-closed.

techwizardg commented 8 years ago

sorry because of page refresh it got added twice. Does this module support for pushkit notifications(VOIP notifications) where the app is launched even if it is terminated

mrDoctorWho commented 8 years ago

Hello @techwizardg

I assume PushKit uses different protocol for client-server interaction. Sadly, I couldn't find a reference for the server implementation.

The module only does APNS notifications, so, it has nothing to do with VoIP notifications.

marcelloceschia commented 8 years ago

I should work, because it uses the same infrastructure to send notifications, for now. Only the iOS handling is different.

mrDoctorWho commented 8 years ago

@marcelloceschia but the VoIP notifications are different, aren't they?

marcelloceschia commented 8 years ago

No.

Am Dienstag, 26. Juli 2016, 01:03:26 schrieb John Smith:

@marcelloceschia but the VoIP notifications are different, aren't they?


You are receiving this because you were mentioned. Reply to this email directly or view it on GitHub: https://github.com/mrDoctorWho/ejabberd_mod_apns/issues/5#issuecomment-235191513

techwizardg commented 8 years ago

I also assume if the VOIP Certificate is given it should work

marcelloceschia commented 8 years ago

Yes, you have to use the VoIP certificate and it will work exactly the same as before.

Am Dienstag, 26. Juli 2016, 01:09:30 schrieb techwizardg:

I also assume if the VOIP Certificate is given it should work


You are receiving this because you were mentioned. Reply to this email directly or view it on GitHub: https://github.com/mrDoctorWho/ejabberd_mod_apns/issues/5#issuecomment-235192858

techwizardg commented 8 years ago

i am testing now using VOIP certificate and the user is offline(i.e. verified using ejabberd admin console). But did not receive message in device (i.e. the delegate method is not called).In the ejabberd logs too sending notifications are not seen. So how do i see if the iOS App has registered successfully to the module (i.e. do i need to check in mnesia)

vijayaa commented 8 years ago

i am testing with ejabberd 16.02. i have changed xml to fxml as specified in readme. User is registered for Offline. i am able to see the debug "New user registered". But when i send message it is not sending notfication

mrDoctorWho commented 8 years ago

@vijayaa Please, if you are experiencing a problem, create an issue. I'll answer you here, but you should create one if the problem still exists. Do you see anything else in the log?

mrDoctorWho commented 8 years ago

@techwizardg You can run the following code in the ejabberd console (ejabberdctl debug):

mnesia:dirty_read(apns_users, {<<"user">>, <<"host">>}).

This will show you the token of the username and host pair you provide.

techwizardg commented 8 years ago

Thanks and will check it.

mrDoctorWho commented 7 years ago

Closing due to inactivity