Can't find a solution to display a screen after local notification is received (Alarm App)

I used the cordova-plugin-local-notifications and everything worked fine to receive the notification but I want to show a screen of the alarm! I tried to show an alert when the notification is triggered but it’s opened only inside the app :

this.localNotif.on('trigger').subscribe(res => {
  let msg = ? : '';
  this.showAlert(res.title, res.text, msg);

Can anyone help me to display the alarm interface over any app running?

hi, problably this tutorial could help you. Local notification using capacitor

Thanks for your reply, I followed his video with cordova!
And here he is doing the same thing on receiving the notification he displays an alert inside the app!