[CB-7158] fix geolocation for ios 8

See https://issues.apache.org/jira/browse/CB-7158