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

Heading and speed returns -1 in IOS #366

Open bonymbose32 opened 1 year ago

bonymbose32 commented 1 year ago

Can anyone help

andrew-nguyen-mcs commented 1 year ago

Having this issue as well. Anyone know what's happening here? It doesn't happen on all iOS devices, just only on some, and we can't decipher any rhyme or reason why it would work on some but not others. We're thinking it's a settings issue, but all of the settings are the same between our iOS devices.

matheusyuri7 commented 1 year ago

I'm facing the same issue

matheusyuri7 commented 1 year ago

@bonymbose32 @andrew-nguyen-mcs have you guys found a solution for this issue?

MRadek55 commented 1 year ago

Did u test it on real scenario? Should work

andrew-nguyen-mcs commented 1 year ago

Yeah, for us, we figured out iPads don't have gps functionality if they don't have wifi & cellular built into them. So that's why we got -1 for the speed and heading.

Here's a thread on it. https://discussions.apple.com/thread/252416967