ejabberd Vs push notifications

In one of the video which I got to listen from processone , where presenter mentioned that on IOS ejabbard work through Push notification as jabbered module cannot run in background .
with this I am kind of confuse as if we need to rely on push notification and when I say push notification I mean the push notification which are routed through Apple Inc, so then why we even need jabberd ? Am I mistaken or mis understood. My understanding was that jabberd is capable of pushing Message on any mobile device and we can write client for both Android and IOS and can work totally independently without having to need the push notification. In case users turned off line and/or closed the app then we need to use the push notification channel to deliver the messages.
Please clarify.

thanks

Faheem

Syndicate content