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

On Thu, Jan 21, 2016 at 9:03 PM, Luke Holmquist <lholmqui@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@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/aerogear-users