[Aerogear-users] Aerogear with phonegap plugin
Matthias Wessendorf
matzew at apache.org
Fri Jul 8 02:47:25 EDT 2016
On Fri, Jul 8, 2016 at 8:15 AM, Nixad Smith <nixadsmith at gmail.com> wrote:
> Thanks for your response.
>
> One of our requirement is the client to be independent of the push server
> (as the notification would be coming for GCM/APNS etc) so we decided to go
> with phonegap.
>
Could this be a bug at the push server? Because I do not get the
> notification when there is no criteria
>
if no criteria is present we auto register the client on a FCM topic:
https://github.com/aerogear/aerogear-android-push/blob/master/aerogear-android-push/src/main/java/org/jboss/aerogear/android/unifiedpush/fcm/AeroGearFCMPushRegistrar.java#L191
So, that's why - becuase PhoneGab does not do that. It's a feature of the
UPS and it's SDKs.
> set but I get the notification when I provide the variantid or alias or
> device type.
>
correct, these things are excluded, and not handled via GCM/FCM topics, see:
*
https://github.com/aerogear/aerogear-unifiedpush-server/blob/master/push/sender/src/main/java/org/jboss/aerogear/unifiedpush/message/token/TokenLoader.java#L144-L146
*
https://github.com/aerogear/aerogear-unifiedpush-server/blob/master/push/sender/src/main/java/org/jboss/aerogear/unifiedpush/message/token/TokenLoaderUtils.java#L82-L84
>
> _______________________________________________
> Aerogear-users mailing list
> Aerogear-users at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/aerogear-users
>
>
--
Matthias Wessendorf
blog: http://matthiaswessendorf.wordpress.com/
twitter: http://twitter.com/mwessendorf
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/aerogear-users/attachments/20160708/1d806d4c/attachment.html
More information about the Aerogear-users
mailing list