Ionic click on notification when app is closed minimized not working

Hi i have a problem with ionic 3 when i send a push notification and the user click on it i want to redirect the user a specific page. when the app is open no problem everything work but when the app is minimized or closed the app is opening but i don’t receive the event notification here my code in app.component.ts page i have added:
import { Push, PushToken} from ‘@ionic/cloud-angular’;

this.push.register().then((t: PushToken) => {
return this.push.saveToken(t);
});

this.push.rx.notification()
.subscribe((msg) => {
console.log(JSON.stringify(msg));
alert(JSON.stringify(msg));

});
i’m testing this on android phone
thanks