In my app I want to provide three kinds of messages: "alert", "info" and "update". The user decides, which messages he want to receive.
So I created three different notifiers. Depending on the selection of the user, the app registers at all selected notifiers. This works so far. But now my problem is, that all received messages will be serviced by the same IntentService in my app independent from the notifier.
So my question is, if is there any possibility to get the notifier of the message? If there isn't, than I have to put the message tag into the message itself, but then I do not need to provide three different notifiers.
Answer by Madhan+Sadasivam
·
Apr 27, 2015 at 09:19 AM
There is no way to get the notifier name at the client end. Your solution is right, you can add additional properties to the message itself and use it at the client end.
Then this would be a nice feature for future use, to get the notifier tag, I think. In my case I want to call diffent activities in my app, depending on the notifier because an alert message should be presented in an other way than an info message. And therefore it would be the easiest way for the BaaS-user to provide different notifiers and get the notifier tag in the intent service, I think.
@Michael Schneider now you can post suggest your idea here https://community.apigee.com/content/idea/post.html . Apigee's engineering team does monitor it some of the ideas will be included in future releases as there is fit.