Screen lighting on Kotlin when Push notification arrives

WelcomeApps

Member
May 20, 2022
5
0
0
When the application is closed, and the phone screen is off, the phone receives push notifications. At this time, Android phones can receive push notifications, but they don’t turn the screen on.

Please tell me how to turn the screen on of a turned off phone screen when push notifications from the application come in.
 
If the app itself doesn't have in in the code to wake up the screen when a push notification is received (like most messaging/phone apps), then you would need a 3rd party app that can 'intercept' the notification and trigger the screen state change.