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

GPS accuracy lack

Open janandaraj opened this issue 2 years ago • 1 comments

Environment

System: OS: macOS 13.1 CPU: (8) x64 Intel(R) Core(TM) i5-1038NG7 CPU @ 2.00GHz Memory: 17.34 MB / 16.00 GB Shell: 5.8.1 - /bin/zsh Binaries: Node: 16.13.0 - /usr/local/bin/node Yarn: 1.22.19 - /usr/local/bin/yarn npm: 8.1.0 - /usr/local/bin/npm Watchman: 2023.07.10.00 - /usr/local/bin/watchman SDKs: iOS SDK: Platforms: DriverKit 22.2, iOS 16.2, macOS 13.1, tvOS 16.1, watchOS 9.1 IDEs: Android Studio: 2021.2 AI-212.5712.43.2112.8815526 Xcode: 14.2/14C18 - /usr/bin/xcodebuild npmPackages: react: 16.9.0 => 16.9.0 react-native: 0.61.5 => 0.61.5

Platforms

iOS

Versions

Please add the used versions/branches

  • Android: 12
  • iOS: 16.6
  • react-native-geolocation-service: 5.3.1
  • react-native: 0.61.5
  • react: 16.9.0

Description

Geolocation.getCurrentPosition not fetching accurate location when inside the room/office, the accuracy varies from 40 feet to 60 feet

Reproducible Demo

Provide a detailed list of steps that reproduce the issue.

  1. Geolocation.getCurrentPosition( (position: GeoPosition) => { callback(position); }, error => { errorCallback(error); }, { timeout: 10000, enableHighAccuracy: true, accuracy: { android: "high", ios: "bestForNavigation" }, maximumAge: 0 } );

Expected Results

Expecting at least within 10 feet accuracy

janandaraj avatar Aug 31 '23 07:08 janandaraj

Try this https://www.youtube.com/watch?v=A5nvMQe-fpc

kyadalu1 avatar Sep 15 '23 05:09 kyadalu1