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

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

Open anmolx123 opened 11 months ago

anmolx123 commented 11 months ago

Environment

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

Platforms

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

Versions

Please add the used versions/branches

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

amankalra4 commented 10 months ago

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

khushbujilka22 commented 10 months ago

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 commented 9 months ago

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

FazilMuhammed commented 8 months ago

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

nicoladj77 commented 7 months ago

Any luck on this?