Addition of Safari Push for Websites

This starts the addition of Safari Push.

I've changed the iOSVariant to be now called APNsVariant

There are still some things that need to be done, such as making sure all references to iOS in the javadocs are changed to APNs

Probably some tests to add

on the UI front,  the example implementation needs to update to include a safari version

setup can be a bit of a pain, check here for more info, http://blog.lholmquist.org/safari-push-notifications/


so anyone who wants to test,  GO FOR IT
:+1:

On Fri, Nov 21, 2014 at 4:58 PM, Lucas Holmquist <notifications@github.com>
wrote:

> In
> push/src/main/java/org/jboss/aerogear/unifiedpush/message/sender/APNsPushNotificationSender.java:
>
> >          Message message = pushMessage.getMessage();
> > +
> > +        final APNsVariant APNsVariant = (APNsVariant) variant;
> > +
> >          PayloadBuilder builder = APNS.newPayload()
> >                  // adding recognized key values
> >                  .alertBody(message.getAlert()) // alert dialog, in iOS
>
> @matzew <https://github.com/matzew> yea, // alert dialog, in iOS or Safari
> should be good?
>
> —
> Reply to this email directly or view it on GitHub
> <https://github.com/aerogear/aerogear-unifiedpush-server/pull/427/files#r20722651>
> .
>



-- 
Matthias Wessendorf

blog: http://matthiaswessendorf.wordpress.com/
sessions: http://www.slideshare.net/mwessendorf
twitter: http://twitter.com/mwessendorf