How accurate is the geolocation of React Native?

1

I would like to know how accurate the data is that the geolocation of React Native, does it use the native geolocation of the cell phone?

I wanted to get an idea of the margin of error of the location, whether it's meters or even KM ... or it's just a matter of centimeters of error ...

Sincerely, Wendel Freitas

    
asked by anonymous 28.07.2017 / 15:02

1 answer

1

Yes, React Native uses the native geolocation of the mobile.

Although this API will be exposed through polyfills ( navigator.geolocation ), the GPS signal used is the same as the device.

That already answers the second question (accuracy): The GPS of most of today's mobile handsets returns their location with a margin of error of only a few meters. Keep in mind that this varies according to the place you are testing the GPS.

  • Inside a concrete building you probably will not get a reliable location.
  • Inside a car, 10-50 meters margin of error;
  • On foot: 5-10 meters margin.
16.08.2017 / 06:05