Skip to content

How to handle notification is opened #172

Open

Description

@buraksari1993

How do I know if the application is opened by clicking the notification when the application is closed?

FCM payload looks like below:

 "notification": {
      "title": "hello",
      "body": "test message",
      "click_action": "OPEN_ACTIVITY_1"
  },

This is using "click_action" on firebase. But we couldn't find this function on "azurenotificationhub". And I don't know how to do this.
As a result, I want to open the page I want when the notification is clicked while the application is closed.

Activity

  1. omerakinusf commented on Sep 29, 2020

    @omerakinusf

    +1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions