Ionic 3 push notification when app closed

Hi to all,
I know that this issue is 100x discussed but on my app I receive notification for fine. The only thing what I need is to redirect after click, when app is in background.
API send me payload as data, not as notification, but this has no effect for my click on notification. Always is shown root page.

Can you please show me you implementation? Or help with mine?

Mine implementation:


    pushObject.on('notification').subscribe((notification: any) => {
      console.log('Received a notification', notification)

      if (notification.additionalData.foreground) {
        console.log("FOREGROUND Push notification clicked");
        
      } else {
        console.log("BACKGROUND Push notification clicked");
      
      }
    });

Only foreground log is recieved.

and Guy on backend is doing notification this way:
image

I do not see any mistake here, do you?

Thanks