Navigation on push notification tap

👍

Expected result of the “Navigation on push notification tap” step:

When a push notification is tapped, the link from the notification is logged to the developer console.

To receive the link in Flutter, subscribe to the event that is triggered by the native layer when the push notification is tapped.

The subscription is called with two arguments:

  • link — the link specified in the notification;
  • payload — the serialized push notification payload. If a JSON is passed, it must be deserialized on your side.
Mindbox.instance.onPushClickReceived((link, payload){ 
    print(link)
});
👍

Verify the result of the “Navigation on push notification tap” step:

When a push notification is tapped, the link from the notification is logged to the developer console.