Trigger on Lock Screen

Post your feature requets for new triggers, conditions, actions and other improvements.

Moderator: Martin

Locked
harryzac
Posts: 5
Joined: 28 Feb 2016 15:09

Trigger on Lock Screen

Post by harryzac » 28 Feb 2016 15:11

Hi,

Love the app!

Would love to be able to perform notification actions from the lock screen without having to unlock my phone to run a flow.

Is this possible?

Thanks! :)
Samsung Galaxy S7 Edge
Android 8.0.0

User avatar
Martin
Posts: 4468
Joined: 09 Nov 2012 14:23

Re: Trigger on Lock Screen

Post by Martin » 28 Feb 2016 16:39

Hi,

Thanks, I'm glad you like the app!

I'll add it to the todo-list to check if such actions are feasible.
Alternatively you could create a clickable overlay widget and display this widget on the lock screen (see menu->Custom Widgets and action Show Custom Widget Overlay. Show in a flow with trigger Display State: Off, hide with trigger User Present).

Regards,
Martin

bogdyro
Posts: 241
Joined: 04 Apr 2015 15:14

Re: Trigger on Lock Screen

Post by bogdyro » 03 Mar 2016 05:35

Hi Martin. Is there a way to detect if the phone is active without first bypassing the lockscreen? I need to display some overlays only on the lockscreen and the phone doesn't get locked always (when I press a button earlier than 5 seconds for example)
I tried to detect the topmost window by using dumpsys window windows | grep -E 'mCurrentFocus|mFocusedApp' but it always shows me that automagic is the current focused app. Works for every other app,just not the lockscreen. Any solutions?
Thanks

User avatar
Martin
Posts: 4468
Joined: 09 Nov 2012 14:23

Re: Trigger on Lock Screen

Post by Martin » 03 Mar 2016 20:00

Hi,

You could use condition Keyguard Locked when the screen is turned on to see if the lockscreen is active.

Regards,
Martin

Locked