Hi Andre,

I am trying to get AMP push working.* Please pardon my ignorance on this.*

Is there a sample implementation/design for AMP push SubscribeToID /
UnsubscribeFromID
/ NotificationForID ?

I am not sure about the design and how to move forward on this.

* How does SubscribeToID / UnsubscribeFromID / NotificationForID work?
* How would their implementation/design look like ?

Please provide pointers.


http://twistedmatrix.com/documents/current/api/twisted.protocols.amp.html
https://github.com/apple/ccs-calendarserver/blob/
e8c1adf17f4fa661926d70d2ddf8758d00aae06c/calendarserver/
push/amppush.py#L35-L53



On Tue, Sep 13, 2016 at 9:33 AM, Andre LaBranche <d...@apple.com> wrote:

>
> > On Sep 12, 2016, at 7:57 PM, Gaurav Jain <monkeyfd...@gmail.com> wrote:
> >
> > Can you please point me to APNS docs/examples as well?
>
> Hi,
>
> Unfortunately APNS with CalendarServer is only supported when using
> Server.app, and only with Apple clients. This is because the APNS servers
> will only send pushes to Apple clients (via platform security controls).
> Also note that the Calendar.app client will only accept pushes associated
> with an APNS cert that contains a topicID in a (restricted) Apple namespace
> that is not available to third parties that obtain APNS server certs via
> the certificate portal website. Server.app is entitled to request certs in
> this restricted namespace, authenticated with iCloud credentials.
>
> Getting APNS to work for Apple clients and servers is simple: just turn it
> on in the Server.app GUI, and clients should notice and switch to APNS
> instead of polling.
>
> -dte
>
_______________________________________________
calendarserver-users mailing list
calendarserver-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/calendarserver-users

Reply via email to