Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GPS accuracy lack #421

Open
janandaraj opened this issue Aug 31, 2023 · 1 comment
Open

GPS accuracy lack #421

janandaraj opened this issue Aug 31, 2023 · 1 comment
Labels
bug Something isn't working

Comments

@janandaraj
Copy link

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 janandaraj added the bug Something isn't working label Aug 31, 2023
@kyadalu1
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants