Agontuk / react-native-geolocation-service

React native geolocation service for iOS and android
https://www.npmjs.com/package/react-native-geolocation-service
MIT License
1.6k stars 290 forks source link

GPS accuracy lack #421

Open janandaraj opened 10 months ago

janandaraj commented 10 months ago

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

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

kyadalu1 commented 9 months ago

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