I am developing an Android app with FCM notification. When the app is either in background or foreground, I receive the notification properly; it sounds & vibrates, clicking on the notification launches the application. Everything is proper. But when the device is locked and display is off, the device vibrates and makes sound upon notification reception. But it does not wake up (screen does not turn ON). Only after pressing the keys the device wakes up and I could see the notification even in the locked screen.
I have two questions,
How to turn the display ON ?
How to show the application icon in the locked time screen, just like whatsapp logo in the locked screen?
Thanks, Velu