Page 1 of 1

Active network type maybe a bug

Posted: 19 Nov 2014 18:43
by holymoz
Hi, I want to trigger when I'm connected to mobile,wifi or disconnect from those.
The trigger active network type is set to Wi-Fi, mobile and none and works very well ONLY the second time I connect/disconnect.
Doesn't trigger after phone starts.
In other words I turn on the phone, connect to The network (Wi-Fi or mobile) and the trigger doesn't trigger.
After that, every time I disconnect/connect on one of the two network the trigger works perfect.
Why this malfunction only with the first connection After boot? Thx guys.

Re: Active network type maybe a bug

Posted: 19 Nov 2014 20:08
by Bushmills
Does your device connect to network before Automagic was started after boot? If so, you could maybe add the "Automagic start" trigger, and test network connectivity with a condition, to react to that case.

Re: Active network type maybe a bug

Posted: 19 Nov 2014 21:20
by holymoz
no, I connect manually after automagic starts.
in effect I "watch" the flow then enable wifi from statusbar and wait for the trigger to become red but when connection is established nothing happen.
:?:

Re: Active network type maybe a bug

Posted: 20 Nov 2014 20:12
by Martin
Could you please enable Debug log and Log to SD card in the preferences of Automagic, reboot to reproduce the problem and then send the log by mail to info@automagic4android.com? I think Android might not send an expected event when the device is booted so Automagic does not properly initialize the trigger but I would like to see in the log if this happens on your device.

Regards,
Martin

Re: Active network type maybe a bug

Posted: 21 Nov 2014 14:01
by holymoz
Sent, thanks

Re: Active network type maybe a bug

Posted: 24 Nov 2014 09:53
by holymoz
last update fixed the bug, thanks

Re: Active network type maybe a bug

Posted: 24 Nov 2014 17:12
by Martin
Great! Thanks for reporting and testing.