clientInfo.alias that is ;)
On Mon, Nov 23, 2015 at 11:44 AM, Matthias Wessendorf <matzew(a)apache.org>
wrote:
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
clientInfo.alias that is ;)
...
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(a)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(a)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
--
Matthias Wessendorf
blog:
http://matthiaswessendorf.wordpress.com/
sessions:
http://www.slideshare.net/mwessendorf
twitter:
http://twitter.com/mwessendorf