Page 1 of 1

Location update bug

Posted: 28 Oct 2013 14:11
by mathieson
Hello, I believe I have found a bug in your fine program. When using the Location trigger it does not get activated if the phone is in airplane mode. I believe this is a bug, as one may have a location trigger set to one's home city. This trigger would never be activated/run if entering/exiting in aircraft mode. Could you please consider changing the way this trigger works so as to make it "compatible" with airplane mode?

Thanks!

Re: Location update bug

Posted: 28 Oct 2013 18:43
by Martin
Hi,

The location trigger requires network access or GPS to determine your current location. It will not work when airplane mode is turned on indoors. If you need to determine your location when airplane mode is on, consider to temporarily turn off airplane mode (requires root on newer Android versions) or to turn on WiFi temporarily and determine the location using an action Init Variable Location.

Regards,
Martin

Re: Location update bug

Posted: 29 Oct 2013 00:50
by mathieson
Martin,

Thanks for your reply. I think I did not explain myself properly.

What I mean is the following:
1. In home city, Automagic correctly triggers the entering condition.
2. Board plane, set to Airplane mode and then arrive at another city.
3. Arriving at another city Automagic *should* execute the exiting condition. What happens is nothing in reality.

I believe this is a bug, or is this the correct behaviour?

Re: Location update bug

Posted: 01 Nov 2013 08:46
by Martin
Hi,

Automagic relies on a built-in function of Android for this trigger and it worked as expected on one of my test devices.
What device and Android version are you using?

Regards,
Martin

Re: Location update bug

Posted: 01 Nov 2013 14:23
by mathieson
Martin,

I am using a Nexus 4 device on android 4.3. It is build JWR66Y.

I am enclosing a copy of the flow so there is no confusion.

Thanks and regards,
Sam.

Re: Location update bug

Posted: 02 Nov 2013 18:51
by Martin
Sam,

I tried to reproduce this problem on a Nexus 4 with the same ROM but your flow worked (different location with classic and the experimental modern option).
Did you restart the phone while airplane mode was turned on? When you switched the airplane mode off, did you have a working mobile data connection?

Regards,
Martin

Re: Location update bug

Posted: 03 Nov 2013 01:16
by mathieson
Martin,

I believe that I might not have had a data connection, sometimes it drops within the airport area whenever I enter. I will check next time to make sure that this is the case.

Thanks very much for your help,
I will let you know next time I am in the area to check if it is the case and let you know if it happens.