Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

react-native-geolocation-service throwing internal error occurred only for few android devices #408

Open
kirannaikI opened this issue Mar 21, 2023 · 8 comments
Labels
bug Something isn't working

Comments

@kirannaikI
Copy link

kirannaikI commented Mar 21, 2023

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

  • Android: 13
  • iOS:
  • react-native-geolocation-service: 5.3.0-beta.4
  • react-native: 0.66.0
  • react: 17.0.2

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

@kirannaikI kirannaikI added the bug Something isn't working label Mar 21, 2023
@trta2352
Copy link

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

@SulthanYS
Copy link

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
Copy link

same here

2 similar comments
@zahidalidev
Copy link

same here

@bahinapster
Copy link

same here

@talal-tilted
Copy link

Same for me

@domibowo
Copy link

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

@Zuxelus
Copy link

Zuxelus commented Dec 22, 2024

In my case function getCurrentPosition returned "Internal error occurred" when geolocation was turned off in parent control.
Android 14, react-native 0.76.3, react-native-geolocation-service 5.3.1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

9 participants