Page 1 of 1

Connection detection

Posted: Sun Mar 16, 2014 8:35 am
by MrWizard.
Hello

Is there a way to detect the connection type from a lc iPhone app?

I want to be cost conscious and have my app do light weight transfer when cellular connected deferring heavy transfers to wifi connected sessions.

It would be great to have a function to query the current connection type. Even better to have a trigger event to fire as the connection moves into and outof wifi connectivity

Thoughts?

E

Re: Connection detection

Posted: Sun Mar 16, 2014 11:09 am
by Jellicle
Yes, you can. Read the LiveCode iOS release notes and look for "Network reachability". If you have any questions after checking there feel free to ask here :)

Gerry

Re: Connection detection

Posted: Wed May 25, 2016 9:53 pm
by ctflatt
Where would this information be found today? In the download release notes for LC8?

Re: Connection detection

Posted: Wed May 25, 2016 11:12 pm
by Simon
Hi ctflatt,
Look in the dictionary for "reachabilityChanged"

Simon

Re: Connection detection

Posted: Thu May 26, 2016 1:07 am
by ctflatt
Simon,

Thank you for the reference.

Is this an iOS only feature, or is there an Android equivalent?

Many thanks.

Re: Connection detection

Posted: Thu May 26, 2016 1:53 am
by Simon
I don't have the dictionary in front of me right now but I believe it's ios only.

Simon