Quantcast
Channel: calculating distance in React Native - Stack Overflow
Viewing all articles
Browse latest Browse all 3

Answer by Shivam for calculating distance in React Native

$
0
0

Adding another answer as its the best solution to the problem. As a solution to the location timeout issue i am using react-native-geolocation-service and it works like a charm.

This library has been created to fix the location timeout issue on android with the react-native's current implementation of Geolocation API. This library tries to solve the issue by using Google Play Service's new FusedLocationProviderClient API, which Google strongly recommends over android's default framework location API.


Viewing all articles
Browse latest Browse all 3

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>