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

Latitude is coming as 0 in ios where longitude has a valid value #417

Open
anmolx123 opened this issue Aug 11, 2023 · 5 comments
Open

Latitude is coming as 0 in ios where longitude has a valid value #417

anmolx123 opened this issue Aug 11, 2023 · 5 comments
Labels
bug Something isn't working

Comments

@anmolx123
Copy link

Environment

Run npx react-native info in your terminal and copy the results here.

Platforms

Is this issue related to Android, iOS, or both ?

  • ios only

Versions

Please add the used versions/branches

  • Android: Dont support
  • iOS: 16.6
  • react-native-geolocation-service: 5.3.1
  • react-native: 0.66.1
  • react: 17.0.2

Description

While trying to fetch the current location in ios device, latitude is coming as 0 whereas longitude has a valid value

Reproducible Demo

Provide a detailed list of steps that reproduce the issue.

  1. Below is the object used as options
    {
    enableHighAccuracy: true,
    timeout: 15000,
    maximumAge: 10000,
    distanceFilter: 50,
    accuracy: {
    ios: 'best'
    }
    }

Expected Results

Excepting both longitude & latitude to have a valid value instead of 0

@anmolx123 anmolx123 added the bug Something isn't working label Aug 11, 2023
@amankalra4
Copy link

Hi @Agontuk
Could you please help here, as there are quite frequent occurrences of this issue in our production environment

@khushbujilka22
Copy link

khushbujilka22 commented Aug 23, 2023

Since last 3 month, we are also face this issue for IOS Device.

"react-native-geolocation-service": "5.3.0",
"react-native": "0.67.3",

@khushbujilka22
Copy link

Hello @Agontuk
This issue has frequent occurrences, please help here.

@FazilMuhammed
Copy link

@anmolx123 @amankalra4 @khushbujilka22 did you get any solution for this issue

@nicoladj77
Copy link

Any luck on this?

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

5 participants