Page 1 of 1

Mobile Datanetwork type trigger

Posted: 12 Dec 2019 13:06
by jassing
I tried to use mobile Datanetwork type trigger. I can watch the icon switch to LTE, but the trigger doesn't fire.

Is there a bug or am I expecting the wrong thing to trigger it?

What I really want is to detect when mobile data is enabled...

Re: Mobile Datanetwork type trigger

Posted: 12 Dec 2019 18:29
by Desmanto
Try to tick every checkbox there and put debug dialog. See if the flow triggered when it changed.

Since the network detection has been mostly limited since Android LP 5.1, you can try other method. Check with your system setting, find the value preferred_network_mode. You can use my secure logger flow to find the correct one. Then use Trigger System Setting Changed based on that value.

Re: Mobile Datanetwork type trigger

Posted: 13 Dec 2019 00:06
by jassing
Desmanto wrote:
12 Dec 2019 18:29
Try to tick every checkbox there and put debug dialog. See if the flow triggered when it changed.
I tried that... Never triggered.
Since the network detection has been mostly limited since Android LP 5.1, you can try other method.
Bummer, but at least there's another one...
Check with your system setting, find the value preferred_network_mode. You can use my secure logger flow to find the correct one.
Wow! One hell of detailed post! Thank you for that work/effort!
Then use Trigger System Setting Changed based on that value.
Enabled it & will play around. Thank you.

Re: Mobile Datanetwork type trigger

Posted: 13 Dec 2019 02:06
by jassing
Thanks, worked like a charm! Very much appreciated