Re: An API for Airplane mode on iOS?

2016-02-09 Thread Alex Zavatone
On Feb 9, 2016, at 3:37 PM, Jens Alfke wrote: > >> On Feb 9, 2016, at 10:38 AM, Alex Zavatone wrote: >> >> Simply put, if we can detect that this user is has turned off Airplane mode, >> we can respond in a more cautious manner. > > But you can run into the same behaviors if the user has tu

Re: An API for Airplane mode on iOS?

2016-02-09 Thread Jens Alfke
> On Feb 9, 2016, at 10:38 AM, Alex Zavatone wrote: > > Simply put, if we can detect that this user is has turned off Airplane mode, > we can respond in a more cautious manner. But you can run into the same behaviors if the user has turned WiFi and/or cellular off and then back on. The Airpla

Re: An API for Airplane mode on iOS?

2016-02-09 Thread Alex Zavatone
On Feb 9, 2016, at 12:15 PM, Jens Alfke wrote: > >> On Feb 9, 2016, at 4:17 AM, Alex Zavatone wrote: >> >> I’ve created multiple tests using reachability and it would be REALLY EASY >> if we could simply respond to changes in the Airplane Mode switch. > > This triggers changes in network int

Re: An API for Airplane mode on iOS?

2016-02-09 Thread Jens Alfke
> On Feb 9, 2016, at 4:17 AM, Alex Zavatone wrote: > > I’ve created multiple tests using reachability and it would be REALLY EASY if > we could simply respond to changes in the Airplane Mode switch. This triggers changes in network interfaces that you can detect using the SystemConfiguration

Re: An API for Airplane mode on iOS?

2016-02-09 Thread Alex Zavatone
On Feb 8, 2016, at 5:13 PM, Jens Alfke wrote: > >> On Feb 8, 2016, at 1:55 PM, Alex Zavatone wrote: >> >> I'm using reachability classes to determine if we can reach our web services >> IP and monitoring all reachability enums, but would be "really nice™" is if >> there is a published API t

Re: An API for Airplane mode on iOS?

2016-02-09 Thread dangerwillrobinsondanger
> On Feb 9, 2016, at 4:02 PM, Jens Alfke wrote: > > >> On Feb 8, 2016, at 9:45 PM, Glenn L. Austin wrote: >> >> According to the docs on Reachability (possibly lost in the mists of >> time...), Reachability isn't really designed to tell you whether your net >> access *will* succeed, but

Re: An API for Airplane mode on iOS?

2016-02-08 Thread Jens Alfke
> On Feb 8, 2016, at 9:45 PM, Glenn L. Austin wrote: > > According to the docs on Reachability (possibly lost in the mists of > time...), Reachability isn't really designed to tell you whether your net > access *will* succeed, but to give you reasons that your last access *failed.* It’s not t

Re: An API for Airplane mode on iOS?

2016-02-08 Thread Glenn L. Austin
According to the docs on Reachability (possibly lost in the mists of time...), Reachability isn't really designed to tell you whether your net access *will* succeed, but to give you reasons that your last access *failed.* Yes, I was surprised too, but after adding an initial access to prime the

Re: An API for Airplane mode on iOS?

2016-02-08 Thread Jens Alfke
> On Feb 8, 2016, at 1:55 PM, Alex Zavatone wrote: > > I'm using reachability classes to determine if we can reach our web services > IP and monitoring all reachability enums, but would be "really nice™" is if > there is a published API to read the position of the Airplane Mode setting. Do yo

Re: An API for Airplane mode on iOS?

2016-02-08 Thread Clark S. Cox III
> On Feb 8, 2016, at 13:55, Alex Zavatone wrote: > > On iOS, we're running into particular issues with one user who puts his > device in Airplane mode overnight. > > I'm using reachability classes to determine if we can reach our web services > IP and monitoring all reachability enums, but wo

An API for Airplane mode on iOS?

2016-02-08 Thread Alex Zavatone
On iOS, we're running into particular issues with one user who puts his device in Airplane mode overnight. I'm using reachability classes to determine if we can reach our web services IP and monitoring all reachability enums, but would be "really nice™" is if there is a published API to read th