[CalendarServer-users] Push Notifications

Andre LaBranche dre at apple.com
Mon Jan 5 14:22:53 PST 2015


Hello,

XMPP is no longer supported by Calendar Server as a push notification transport. The supported options are APNS (uses Apple’s push cloud, requires APNS certificates generated by Apple to be installed on the server, only works for Apple clients, does not require an Apple-branded server) and AMP. The AMP transport is simple enough to allow interested integrators to write their own endpoints that act on push notifications (e.g. web app / groupware / middleware), but is generally not intended for wide-spread *client side* use given the requirement of maintaining a tcp connection to receive pushes. (of course this requirement also exists for APNS, however the cost is fixed since a single connection is used for all APNS pushes to all apps on the client).

-dre

> On Jan 1, 2015, at 1:17 AM, Gaurav Jain <monkeyfdude at gmail.com> wrote:
> 
> I am trying to get push notifications working. I looked at the following but could not understand how to use these
> 
> Is there a documentation to get started or understand the above settings?
> 
> 
> 
>     <key>Notifications</key>
>     <dict>
>       <!-- Time spent coalescing notifications before delivery -->
>       <key>CoalesceSeconds</key>
>       <integer>3</integer>
> 
>       <key>Services</key>
>       <dict>
>         <key>XMPPNotifier</key>
>         <dict>
>           <!-- XMPP notification service -->
>           <key>Service</key>
>           <string>twistedcaldav.notify.XMPPNotifierService</string>
>           <key>Enabled</key>
>           <false/>
> 
>           <!-- XMPP host and port to contact -->
>           <key>Host</key>
>           <string>xmpp.host.name <http://xmpp.host.name/></string>
>           <key>Port</key>
>           <integer>5222</integer>
> 
>           <!-- Jabber ID and password for the server -->
>           <key>JID</key>
>           <string>jid at xmpp.host.name/resource <http://jid@xmpp.host.name/resource></string>
>           <key>Password</key>
>           <string>password_goes_here</string>
> 
>           <!-- PubSub service address -->
>           <key>ServiceAddress</key>
>           <string>pubsub.xmpp.host.name <http://pubsub.xmpp.host.name/></string>
>         </dict>
>       </dict>
>     </dict>
> 
> 
> 
> 
> Regards,
> _______________________________________________
> calendarserver-users mailing list
> calendarserver-users at lists.macosforge.org
> https://lists.macosforge.org/mailman/listinfo/calendarserver-users

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/calendarserver-users/attachments/20150105/09525d7f/attachment.html>


More information about the calendarserver-users mailing list