Fetch old push notification when opening app

Comments

5 comments

  • Avatar
    Daniel Toplak

    Are there any solutions for this problem?

  • Avatar
    Ralph

    I have the same issue. I would like to see the last Push message in the app, when the user has not clicked on the push message itself.

    For example, I do sent a push to the user. User ignores it, but opens the app directly. Then I would like to show the last sent push and its corresponding Rich HTML Page.

    Any solution to do this?

    Thank you.

  • Avatar
    Nertopia

    I need to do the same thing... are there any answers to this question?

  • Avatar
    Max Konev

    This is not possible for iOS at all. On Android it is possible and as a highly requested feature it will be a part of the updated SDK (should be available tomorrow or the day after).

  • Avatar
    Max Konev

    Update is here. The plugin 3.4.2 is out.
    It features experimental getPushHistory() / clearPushHistory() methods for Android only (!!!)
    By calling this methods you can receive a JSONArray of pushes that has arrived to the app. Only last 10 pushes being kept. Don't forget to call clearPushHistory as you fetch the array.

Please sign in to leave a comment.