Differentiate notification type like vedio based notification,image notification etc




  • Avatar
    Sergey Polshcha

    You can use custom data for this. You can pass your JSON object and get it in app with getCustomPushData method of PushNotificationManager. For example, {"video":"video_link"}.

  • Avatar

    As Our Client will be using PushWoosh account for pushing remote notifications , so I can’t force him to use custom data where he have to pass json string (to pass notification type) and even if I say him to pass custom data, there is no guarantee that he will be typing correct type in custom data which I will be using further in application to differentiate push notifications.

    Is there is any other way to differentiate push notifications according to their type?

  • Avatar
    Max Konev

    I would recommend to do Push presets that will have custom data built-in. This way you can make sure the custom data will be entered automatically.

Please sign in to leave a comment.