Page 1 of 1

GPS enable/disable fire no event

Posted: 07 Nov 2017 20:57
by HariMaier
Changing the GPS state do not activate the "GPS state changed" trigger.
Is this a known problem. How to solve it?

Samsung Galaxy S5
Android 6.0.1
Root access

Re: GPS enable/disable fire no event

Posted: 09 Nov 2017 06:57
by Desmanto
At mine, using GPS event Started or stopped, can trigger the flow. Pureshot Plus 2, LP 5.1.

I would assume you have grant the proper permission to automagic. Tried the condition Location provider enabled - GPS, when GPS is on or off, and check using put vibrate on true and notification on screen in false branch. See which branch get executed.

Re: GPS enable/disable fire no event

Posted: 09 Nov 2017 20:25
by Martin
Hi,

Are you using trigger GPS Status Event to detect when the device actually starts to use GPS or do you want to detect when the location mode of the device is changed with trigger Location Provider State: GPS Enabled?

Regards,
Martin

Re: GPS enable/disable fire no event

Posted: 09 Nov 2017 21:12
by HariMaier
Hi Martin,

I want to get a trigger if the GPS gets enabled.

Re: GPS enable/disable fire no event

Posted: 11 Nov 2017 01:49
by Desmanto
You want it to be triggered when GPS is toggled on? Then you should use Trigger : Location Provider State - GPS - Enabled. Try this trigger and toggle the GPS. At mine, enabling the GPS from quick setting or from other automagic flow (root), will trigger the flow.