[aerogear-dev] Safari Push notifications
Erik Jan de Wit
edewit at redhat.com
Mon Oct 27 09:20:49 EDT 2014
On 27 Oct,2014, at 14:15 , Lucas Holmquist <lholmqui at redhat.com> wrote:
>
> So i’ve run into a bit of a problem, I’m trying to send notifications, using https://github.com/aerogear/aerogear-unifiedpush-server/blob/master/push/src/main/java/org/jboss/aerogear/unifiedpush/message/sender/APNsPushNotificationSender.java#L52
>
> but i’m not sure how to also tell it to use the new SafarVariant.class that i’ve created.
Right now a sender is configured to send notifications for one specific variant type, this mapping is configured on the top of the class:
https://github.com/aerogear/aerogear-unifiedpush-server/blob/master/push/src/main/java/org/jboss/aerogear/unifiedpush/message/sender/APNsPushNotificationSender.java#L40
so APNsPushNotificationSender will only be use for iOSVariant variants, so either we change the way this works or you create a new Sender ( that extends this one maybe )
Cheers,
Erik Jan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/aerogear-dev/attachments/20141027/b2e04aa9/attachment.html
More information about the aerogear-dev
mailing list