Baidu Push Notifications in Android

1.2k views Asked by At

How to retrieve data from key value pair in Baidu push notifications?

which method is called in PushMessageReceiver in baidu like onHandleIntent() method in GcmListenerService in Google push notifications ?

1

There are 1 answers

1
Umang On BEST ANSWER

Firstly, in baidu the payload is only delivered to the app's receiver only if the message sent from the baidu console/your API is of type Transparent. You can override onMessage() to get the payload.