PUSH_RECEIVE_EVENT
Intent extra key for push notification payload. Is added to intent that starts Activity when push notification is clicked. Example:
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
if (getIntent().hasExtra(Pushwoosh.PUSH_RECEIVE_EVENT)) {
// Activity was started in response to push notification
showMessage("Push message is " + getIntent().getExtras().getString(Pushwoosh.PUSH_RECEIVE_EVENT));
}
}
Content copied to clipboard