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.61k stars 291 forks source link

mocked location boolean key does not appears in iOS Sim #411

Open pranshuchittora opened 1 year ago

pranshuchittora commented 1 year ago

Environment

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

'react-native': "0.71.10",
"react-native-background-geolocation": "4.12.1",

Platforms

iOS

Description

When calling getCurrentPosition the response does not contains mocked key. As per the TS type it is an optional key. The key does not shows on iOS sim, where as works in Android Emu.

Would be great if you can provide some insights on the occurrence of this key. And also add some docs around this.

Android Emu Screenshot 2023-06-27 at 14 00 22

iOS Sim Screenshot 2023-06-27 at 13 58 03

tkyr-hh commented 1 year ago

@pranshuchittora could you please test it on a real iPhone ? because there is no mocking in Simulators

juntiapps commented 11 months ago

@pranshuchittora could you please test it on a real iPhone ? because there is no mocking in Simulators

same