fulldecent / corelocationcli

Command line program to print location information from CoreLocation
MIT License
217 stars 29 forks source link

show error if location access rejected #7

Closed derhuerst closed 7 years ago

derhuerst commented 8 years ago

Right now, after e.g. 10 seconds, it is impossible to determine if corelocationcli if the system is still determining a location or if location access has been blocked.

It would be useful to either get a non-zero exit code if permission has been rejected / location services are turned off.

If this is not possible, a configurable timeout would be helpful.