JanithaR
JanithaR

Reputation: 1132

Using Custom Push Broadcast Receiver in Android

According to the guide posted here I'm trying to implement my own BroadCastReceiver but in the PushManager class, there doesn't seem to be preHandlePush() and postHandlePush() defined. Am I using some outdated version of the library which I took from here? or am I missing something else?

enter image description here

Upvotes: 0

Views: 150

Answers (1)

shader
shader

Reputation: 2121

I've update the guide (http://docs.pushwoosh.com/docs/android-faq#using-custom-push-broadcast-receiver-in-android), please take a look. These functions were moved to PushManagerImpl class.

i.e.

Bundle pushBundle = PushManagerImpl.preHandlePush(context, intent);

Upvotes: 1

Related Questions