Inconsistent Geolocation Behavior Between iPad 4th Gen and iPad Air 2

We've built an iOS application using Apache Cordova that grabs the user's location every X interval seconds. Everything worked fine on our testing devices, so we shipped it over to the client for UAT, and they started reporting extremely erratic and inaccurate location data coming back.


We suspected user error was at play, so we did some onsite testing using both our device (iPad 4th Gen, wifi+cellular) and the client's device (iPad Air 2, wifi+cellular), and we found that ours was still performing as expected, but their device exhibited a couple of odd behaviors:


  1. The same location would be repeated multiple times, creating the illusion that the user had not moved in as much as 10 minutes. On examination, the latitude and longitude reported are identical to the last decimal point, so it's as if the same location is being spoofed over and over again.
  2. When the location did update, it exhibited an unusually high level of inaccuracy. In some cases, the user's location is reported as being a half mile away.


We've tested the following settings without any change in observed behavior:

  1. Factory reset the client's iPad to base settings.
  2. Disable Location Services, reboot device, reenable Location Services.
  3. Test devices with wifi disabled (not just disconnected)
  4. Test devices in airplane mode
  5. Bash devices with coconuts
  6. Double-check that all correct values are in info.plist for geolocation.


The two iPads are running the exact same version of the application on the following stats:


Client iPad

  1. Network: Verizon Wireless
  2. iOS Version: 10.1.1 (14B100)
  3. Carrier: Verizon 26.0
  4. Modem Firmware: 5.26.00
  5. Model: MGHC2LL/A


Vendor iPad

  1. Network: Verizon Wireless
  2. iOS Version: 10.1.1 (14B100)
  3. Carrier: Version 26.0
  4. Model: MD522LL/A
  5. Modem Firmware: 11.01.00


At this point, we're pretty flummoxed as to what could be causing this kind of deviation between our device and theirs. Any thoughts or suggestions on what might be causing the distinction would be greatly appreciated.

One update based on my review of the device logs:


We keep seeing this message come up:


CoreLocation: New location is identical to old location; discarding



Are there circumstances where iOS will discard a new gps location as too similar to the previous one and give the app the same location multiple times?

Inconsistent Geolocation Behavior Between iPad 4th Gen and iPad Air 2
 
 
Q