System:
OS: macOS 12.0.1
CPU: (8) x64 Apple M1
Memory: 67.79 MB / 16.00 GB
Shell: 5.8 - /bin/zsh
Binaries:
Node: 14.18.1 - ~/.nvm/versions/node/v14.18.1/bin/node
Yarn: 1.22.17 - ~/.nvm/versions/node/v14.18.1/bin/yarn
npm: 6.14.15 - ~/.nvm/versions/node/v14.18.1/bin/npm
Watchman: 2021.12.20.00 - /opt/homebrew/bin/watchman
Managers:
CocoaPods: 1.11.3 - /usr/local/bin/pod
SDKs:
iOS SDK:
Platforms: DriverKit 21.2, iOS 15.2, macOS 12.1, tvOS 15.2, watchOS 8.3
Android SDK:
API Levels: 26, 28, 29, 30, 31, 32
Build Tools: 28.0.3, 29.0.2, 30.0.2, 31.0.0, 32.0.0
System Images: android-29 | Intel x86 Atom_64, android-29 | Google APIs ARM 64 v8a, android-29 | Google APIs Intel x86 Atom, android-29 | Google Play ARM 64 v8a, android-32 | Google APIs ARM 64 v8a
Android NDK: Not Found
IDEs:
Android Studio: 2020.3 AI-203.7717.56.2031.7935034
Xcode: 13.2.1/13C100 - /usr/bin/xcodebuild
Languages:
Java: 14.0.2 - /usr/bin/javac
npmPackages:
@react-native-community/cli: Not Found
react: 17.0.2 => 17.0.2
react-native: 0.68.2 => 0.68.2
react-native-macos: Not Found
npmGlobalPackages:
react-native: Not Found
Platforms
Is this issue related to Android, iOS, or both ?
both
Versions
Please add the used versions/branches
Android: 10
iOS: 15
react-native-geolocation-service: ^5.3.0-beta.4
react-native: 0.68.2
react: 17.0.2
Description
When I turn on airplane mode, I get code 3 with message "Location request timed out." with function getCurrentPosition(), (I have granted location permission for app)
Reproducible Demo
Provide a detailed list of steps that reproduce the issue.
Expected Results
getCurrentPosition return a lat and long in position
Environment
System: OS: macOS 12.0.1 CPU: (8) x64 Apple M1 Memory: 67.79 MB / 16.00 GB Shell: 5.8 - /bin/zsh Binaries: Node: 14.18.1 - ~/.nvm/versions/node/v14.18.1/bin/node Yarn: 1.22.17 - ~/.nvm/versions/node/v14.18.1/bin/yarn npm: 6.14.15 - ~/.nvm/versions/node/v14.18.1/bin/npm Watchman: 2021.12.20.00 - /opt/homebrew/bin/watchman Managers: CocoaPods: 1.11.3 - /usr/local/bin/pod SDKs: iOS SDK: Platforms: DriverKit 21.2, iOS 15.2, macOS 12.1, tvOS 15.2, watchOS 8.3 Android SDK: API Levels: 26, 28, 29, 30, 31, 32 Build Tools: 28.0.3, 29.0.2, 30.0.2, 31.0.0, 32.0.0 System Images: android-29 | Intel x86 Atom_64, android-29 | Google APIs ARM 64 v8a, android-29 | Google APIs Intel x86 Atom, android-29 | Google Play ARM 64 v8a, android-32 | Google APIs ARM 64 v8a Android NDK: Not Found IDEs: Android Studio: 2020.3 AI-203.7717.56.2031.7935034 Xcode: 13.2.1/13C100 - /usr/bin/xcodebuild Languages: Java: 14.0.2 - /usr/bin/javac npmPackages: @react-native-community/cli: Not Found react: 17.0.2 => 17.0.2 react-native: 0.68.2 => 0.68.2 react-native-macos: Not Found npmGlobalPackages: react-native: Not Found
Platforms
Is this issue related to Android, iOS, or both ? both
Versions
Please add the used versions/branches
Description
When I turn on airplane mode, I get code 3 with message "Location request timed out." with function getCurrentPosition(), (I have granted location permission for app)![Screen Shot 2022-06-13 at 10 54 34](https://user-images.githubusercontent.com/39033394/173276639-a014d290-23fb-4104-b2c8-eb616458f76c.png)
Reproducible Demo
Provide a detailed list of steps that reproduce the issue.
Expected Results
getCurrentPosition return a lat and long in position