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

react-native-geolocation-service working perfectly fine in debug mode as expected but not working in release mode #389

Open Heanphearak opened 1 year ago

Heanphearak commented 1 year ago

Environment

Run npx react-native info in your terminal and copy the results here. System: OS: macOS 12.6.1 CPU: (8) x64 Intel(R) Core(TM) i7-4770HQ CPU @ 2.20GHz Memory: 753.31 MB / 16.00 GB Shell: 5.8.1 - /bin/zsh Binaries: Node: 18.12.0 - /usr/local/bin/node Yarn: 1.22.19 - /usr/local/bin/yarn npm: 8.19.2 - /usr/local/bin/npm Watchman: 2022.10.31.00 - /usr/local/bin/watchman Managers: CocoaPods: 1.11.3 - /Users/lucky/.rbenv/shims/pod SDKs: iOS SDK: Platforms: DriverKit 22.1, iOS 16.1, macOS 13.0, tvOS 16.1, watchOS 9.1 Android SDK: Android NDK: 23.0.7344513-beta4 IDEs: Android Studio: 2021.1 AI-211.7628.21.2111.8193401 Xcode: 14.1/14B47b - /usr/bin/xcodebuild Languages: Java: 11.0.16 - /usr/bin/javac npmPackages: @react-native-community/cli: Not Found react: 17.0.1 => 17.0.1 react-native: 0.64.2 => 0.64.2 react-native-macos: Not Found npmGlobalPackages: react-native: Not Found

Platforms

Android only

Versions

Please add the used versions/branches

Description

Please provide a clear and concise description of what the bug is. Include screenshots if needed.

Reproducible Demo

Provide a detailed list of steps that reproduce the issue.

1. 2.

Expected Results

Describe what you expected to happen. Get current location when I click on button. It's working fine in debug mode but in release current location getting null.

qvorvasilev commented 1 year ago

Same for me. Any progress on this one?