react-native-geolocation icon indicating copy to clipboard operation
react-native-geolocation copied to clipboard

Stable version for React Native 0.73

Open quangArchiviet opened this issue 6 months ago • 2 comments

Hi all,

Please let me know which version is the most stable to use for [email protected] and [email protected]?

I am using [email protected] (seems to be the latest), but it is not working properly on Android (on iOS, it is really great).

The problem I am facing is that sometimes it does not get GPS (using watchPosition), or sometimes it is very slow, around 3-5 minutes.

I have tested on several Android devices, and all have this issue.

Below is my code:

   const config = Platform.OS === "ios" ? {
        maximumAge: 2000,
        distanceFilter: 15,
        enableHighAccuracy: true,
        accuracy: "bestForNavigation",
        timeout: 10000,
      } : {
        interval: 1000,
        maximumAge: 5000,
        distanceFilter: 10,
        enableHighAccuracy: false, 
        // accuracy: "best",
        timeout: 15000,
        forceRequestLocation: true,
      };

      Geolocation.watchPosition(
        geoSuccess,
        geoError,
        config
      );

quangArchiviet avatar Jun 23 '25 04:06 quangArchiviet

We're using geolocation ^3.4.0 with react native 0.74.6 and raect 18.2 with no issues, some watch warnings here and there but in general ok and stable

apostols1 avatar Jul 08 '25 08:07 apostols1

I have the same problem.

RN: 0.77.0, React 18.3.1

digitalbore avatar Nov 26 '25 14:11 digitalbore