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
ah, cool!

after doing that, wait a few minutes (e.g. three), now send a push to UPS.
What does the feedback service return ? is it deleting a token?

On Fri, Nov 21, 2014 at 5:08 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");
>
> Safari > Preferences > Notifications > click deny or remove. you know, a
> very simple process :)
>
> —
> Reply to this email directly or view it on GitHub
> <https://github.com/aerogear/aerogear-unifiedpush-server/pull/427/files#r20723287>
> .
>



-- 
Matthias Wessendorf

blog: http://matthiaswessendorf.wordpress.com/
sessions: http://www.slideshare.net/mwessendorf
twitter: http://twitter.com/mwessendorf