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 throwing internal error occurred only for few android devices #408

Open kirannaikI opened 1 year ago

kirannaikI commented 1 year ago

Environment

System: OS: Windows 10 10.0.19045 CPU: (8) x64 Intel(R) Core(TM) i5-8265U CPU @ 1.60GHz Memory: 1.07 GB / 15.29 GB Binaries: Node: 14.18.1 - C:\Program Files\nodejs\node.EXE Yarn: Not Found npm: 6.14.15 - C:\Program Files\nodejs\npm.CMD Watchman: Not Found SDKs: Android SDK: Not Found Windows SDK: Not Found IDEs: Android Studio: Version 2020.3.0.0 AI-203.7717.56.2031.7784292 Visual Studio: Not Found Languages: Java: 15.0.2 npmPackages: @react-native-community/cli: Not Found react: 17.0.2 => 17.0.2 react-native: 0.66.0 => 0.66.0 react-native-windows: Not Found npmGlobalPackages: react-native: Not Found

Platforms

Android only

Versions

Please add the used versions/branches

Description

React native geolocation service plugin issue: geolocation getCurrent position throwing error

Reproducible Demo

Provide a detailed list of steps that reproduce the issue.

  1. Geolocation.getCurrentPosition function throwing internal error occurred only for few users.

Expected Results.

throwing error: internal error occurred

trta2352 commented 1 year ago

@kirannaikI I'm facing the same issue. Have you found a solution?

SulthanYS commented 1 year ago

I'm also facing the same issue. Recently after upgrading into API Level 33. It works without issue while using the app in mobile network. But, If I use the app in the wifi connection it throws 'could not invoke : rnfusedlocation.getcurrentposition' error and crashes

carlosriveroib commented 1 year ago

same here

zahidalidev commented 12 months ago

same here

bahinapster commented 11 months ago

same here

talal-tilted commented 7 months ago

Same for me

domibowo commented 1 week ago

same here. only occurs on some phones. any updates?