I
I
Igor2014-12-05 11:28:34
Android
Igor, 2014-12-05 11:28:34

How to process push messages when using the library from Parse.com?

I use Parse for push messages. On IOS, there is a didReceiveRemoteNotification method where you can get the message text and parameters.
How to get message text in android?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
agamov, 2014-12-06
@agamov

when a push is received in the receiver, the json containing the contents of the push is in the Intent. Its key is "com.parse.Data".
You can take it like this: intent.getExtras().getString("com.parse.Data")

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question