1
Answered

How to intercept a notification that is only being sent when the display is on.

Hi there, I want to intercept a notification from an app. But that app will only send the notification on an android device when the screen is active. But the project is to have an android device that is not used, that intercepts these notifications. Any ideas how I could make this work? I tried everything to have the app send the notifications when the display is off, but no luck.

2 replies

Maybe you could make that Android device's display never turn off in Developer Settings and then set its brightness to minimum to avoid screen burning?

J

Hello, thanks for the idea. As it turns out, I kind of know when to expect the notification. So my solution is to have a PHP script on a server send an email to my Gmail app on the tablet whenever I'm expecting the notification of the other app. The tablet has no lock screen, but the display does go off after a few minutes, to prevent screen burning. The Gmail notification does come through when the display is off. And then a Tasker profile picks up the Gmail notification and turns on the display, with a timeout of 15 minutes. So now the display is on, and the notification of the other app comes through and is picked up by the other Tasker profile. And yes, good idea to keep the brightness as low as possible!

And it works!

Awesome! Glad it works!!