Notification on Statusbar Selected trigger from lockscreen

Post your questions and help other users.

Moderator: Martin

Post Reply
sambarlick
Posts: 96
Joined: 27 Jul 2014 10:40

Notification on Statusbar Selected trigger from lockscreen

Post by sambarlick » 24 Jul 2015 14:45

Hi Martin,

I am trying to use notification on Statusbar Selected as a trigger for a flow whilst the lockscreen is active.

The flow isn't being triggered whilst the lockscreen is active.

Does the trigger not work whilst the lockscreen is active?

Thanks, Sam

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

Re: Notification on Statusbar Selected trigger from lockscr

Post by Martin » 24 Jul 2015 15:26

Hi Sam,

This should also work on the lockscreen. Following flow is executed on an Android 5 device when the notification is selected (needs to be pressed twice and PIN needs to be entered before the flow executes):
-trigger Notification on Statusbar selected
-action Vibrate

Does this flow work on your device?

What device model and Android version are you using?

Regards,
Martin

sambarlick
Posts: 96
Joined: 27 Jul 2014 10:40

Re: Notification on Statusbar Selected trigger from lockscr

Post by sambarlick » 24 Jul 2015 15:42

Hi Martin,

That flow works and mine works once the pin has been entered, but i wanted the flow to activate without entering the pin.

Is it possible?

I am using Android 5.0.1 on a HTC One M8.

Thanks, Sam

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

Re: Notification on Statusbar Selected trigger from lockscr

Post by Martin » 27 Jul 2015 18:16

Hi Sam,

Unfortunately that's the normal behavior enforced by Android. I'm not sure if there's a workaround possible using this trigger.

You could create a custom widget with a clickable action and display this widget when the lockscreen is shown. Something like this could work:
Flow 1
-trigger Display State: On
-condition Keyguard Locked
--> true: action Show Custom Widget Overlay

Flow 2
-trigger User Present
-action Hide Custom Widget Overlay

Regards,
Martin

sambarlick
Posts: 96
Joined: 27 Jul 2014 10:40

Re: Notification on Statusbar Selected trigger from lockscr

Post by sambarlick » 27 Jul 2015 20:17

Thanks Martin, I'll try it that way.

Sam

sambarlick
Posts: 96
Joined: 27 Jul 2014 10:40

Re: Notification on Statusbar Selected trigger from lockscr

Post by sambarlick » 30 Jul 2015 13:41

Hi Martin,

Just letting you know the widget suggestion works great. It executes the flow whilst the phone is locked.

Thanks for your help.

Sam

Post Reply