Agontuk / react-native-geolocation-service

React native geolocation service for iOS and android

Home Page:https://www.npmjs.com/package/react-native-geolocation-service

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

kirannaikI opened this issue · comments

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 I'm facing the same issue. Have you found a solution?

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

same here

same here

same here

Same for me