[aerogear-dev] AeroGear Push Notification

Matthias Wessendorf matzew at apache.org
Mon Nov 23 05:44:10 EST 2015


Hi,

not directly, but you could use (on the client) the given device-token (or
registrationID) and use that as the alias. Here is a snippet for iOS/Swift
to perform that in the device registration:

...
clientInfo = deviceToken
...

the full example (expect the above line) for iOS is here:
https://github.com/aerogear/aerogear-ios-push#push-registration

and on the sender API, use the actual alias filed, when sending.

Note you also need to store the device token in that case, so that your app
can use it when the send is triggered

HTH,
Matthias


On Sat, Nov 21, 2015 at 9:30 AM, Pratik Aroo <paroo at inspeero.com> wrote:

> Hi,
>
> I am using aerogear UPS on openshit, I wanted to know if Push
> notification can be sent to specific device by its Device Token, if yes
> then can you provide an demo code for the same. Thanks
>
>
> Regards,
> Pratik A.
> _______________________________________________
> aerogear-dev mailing list
> aerogear-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/aerogear-dev
>



-- 
Matthias Wessendorf

blog: http://matthiaswessendorf.wordpress.com/
sessions: http://www.slideshare.net/mwessendorf
twitter: http://twitter.com/mwessendorf
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/aerogear-dev/attachments/20151123/ab862ecc/attachment.html 


More information about the aerogear-dev mailing list