Can we open a pop up when notification received

Hi, I want to open a pop up when notification received with out interacting with notification. It should work even when app is killed.