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
how are Safari tokens marked as 'invalid'. On iOS that's when disabling
notification or removing the app/

On Fri, Nov 21, 2014 at 4:53 PM, Lucas Holmquist <notifications@github.com>
wrote:

> In
> push/src/main/java/org/jboss/aerogear/unifiedpush/message/sender/APNsPushNotificationSender.java:
>
> > @@ -103,7 +109,7 @@ public void sendPushMessage(final Variant variant, final Collection<String> toke
> >                  // trigger asynchronous deletion:
> >                  if (! transformedTokens.isEmpty()) {
> >                      logger.info("Deleting '" + inactiveTokens.size() + "' invalid iOS installations");
>
> so looking at the Feedback service blurb,
> https://developer.apple.com/library/mac/documentation/NetworkingInternet/Conceptual/RemoteNotificationsPG/Chapters/CommunicatingWIthAPS.html#//apple_ref/doc/uid/TP40008194-CH101-SW3,
> it says nothing of just iOS or just Safari
>
> —
> Reply to this email directly or view it on GitHub
> <https://github.com/aerogear/aerogear-unifiedpush-server/pull/427/files#r20722281>
> .
>



-- 
Matthias Wessendorf

blog: http://matthiaswessendorf.wordpress.com/
sessions: http://www.slideshare.net/mwessendorf
twitter: http://twitter.com/mwessendorf