Location update bug

Post your questions and help other users.

Moderator: Martin

Post Reply
mathieson
Posts: 51
Joined: 13 Aug 2013 18:16

Location update bug

Post by mathieson » 28 Oct 2013 14:11

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!

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

Re: Location update bug

Post by Martin » 28 Oct 2013 18:43

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

mathieson
Posts: 51
Joined: 13 Aug 2013 18:16

Re: Location update bug

Post by mathieson » 29 Oct 2013 00:50

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?

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

Re: Location update bug

Post by Martin » 01 Nov 2013 08:46

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

mathieson
Posts: 51
Joined: 13 Aug 2013 18:16

Re: Location update bug

Post by mathieson » 01 Nov 2013 14:23

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.
Attachments
exported_data_20131101_080643.xml
(2.02 KiB) Downloaded 810 times

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

Re: Location update bug

Post by Martin » 02 Nov 2013 18:51

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

mathieson
Posts: 51
Joined: 13 Aug 2013 18:16

Re: Location update bug

Post by mathieson » 03 Nov 2013 01:16

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.

Post Reply