[Aerogear-users] Qustions about Push and Cordova

Luke Holmquist lholmqui at redhat.com
Thu Jan 21 15:33:17 EST 2016


On Thu, Jan 21, 2016 at 3:30 PM, Anton Hughes <kurrent93 at gmail.com> wrote:

>
> On Thu, Jan 21, 2016 at 9:03 PM, Luke Holmquist <lholmqui at redhat.com>
> wrote:
>
>> both android and iOS have limitations on the message payload,  so the
>> message is usually just a string.
>>
>
> Ok, so is there another convention for sending json data?
>
> My use-case is, I want to send a notification to a specific user say "that
> item you have been watching is now available" - and when the click on it,
> the app opens, and they see a screen with price, currency, etc - a domain
> model.
>
> Is 'push' the right/normal way to do that? Or is there another convention?
>
> Or would it be a combination of push, then do a rest request?
>
i believe this is usually the practice,  you have the message plus some
meta-data in the payload.  then your app goes and fetches the info from a
REST endpoint or something.

>
>
> _______________________________________________
> Aerogear-users mailing list
> Aerogear-users at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/aerogear-users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/aerogear-users/attachments/20160121/50ebbefd/attachment.html 


More information about the Aerogear-users mailing list