Push Notifications on opened not working

Push notifications opened function is not working. I want to show the title but its not show but in case the app is open it is working fine. Anyone have solution for this.

Show your Blocks

There is nothing with the block, I have just call show alert to its title. When it is running or running in background it is working fine but when it is not running its not working.