Comments (11)
Do you supply the coordinates to the emulator?
from react-native-geolocation-service.
enablehighaccuracy causes the problem.after disabling it it is working fine in acttualy device
from react-native-geolocation-service.
Sounds like you don´t have Google Play on your phone, and its falling back to the default RN behavior.
from react-native-geolocation-service.
Probably a device specific issue, see the FAQ section for details. Many devices have faulty GPS which does not work properly. Just in case, test it again outdoor and see if it works.
from react-native-geolocation-service.
another problem i found in react native geolocation is ( with this package and default navigator one ) its not working at all indoors.I used to develope in native android and geolocation was working fine indoors.Any idea ?
from react-native-geolocation-service.
this is unstable just like navigators geolocation.Sometimes there is no problem sometimes location time out error.
from react-native-geolocation-service.
This library is just a wrapper around google play service's FusedLocationProvider API. I still believe it's a device specific issue, since I still haven't faced any timeout issue on my phone (Redmi Note 3). I can be wrong of course.
I don't have any solution to this problem right now. If you can figure something out let me know, or make a PR.
from react-native-geolocation-service.
I have never had a timeout issue on my phone either (OnePlus 1 & 3). I use my app almost every day.
from react-native-geolocation-service.
Closing due to inactivity.
from react-native-geolocation-service.
Chinese should 'FanQiang'。
from react-native-geolocation-service.
on android several solutions worked for me:
- set enableHighAccuracy to false
- on one emulator - opening google maps app solved the location issue for my app
- on a different emulator - restarting the emulator by a long press on the shut down button (regular shut down didn't work)
from react-native-geolocation-service.
Related Issues (20)
- Currently issue is when we open google map & start navigate on that time we can't got location update. HOT 3
- mocked location boolean key does not appears in iOS Sim HOT 2
- Xcode 14.3.1 geolocation not working
- Not getting location prompt while opening the app for ionic3
- Geolocation.getCurrentPosition always returns San Fransisco lat/long HOT 1
- Receiving longitude and latitude as 0
- Latitude is coming as 0 in ios where longitude has a valid value HOT 5
- Unable to get the current location in Android when we are using wifi HOT 2
- watchID always 0 when i called watchPosition HOT 2
- React-native-geolocation-service failing when building on xcode it says "underlying Objective-C module 'react_native_geolocation_service' not found", "failed to verify module interface of 'react_native_geolocation_service' due to the errors above; the textual interface may be broken" HOT 2
- GPS accuracy lack HOT 1
- Crash on Xcode 15 RC
- watchPosition not working consistently on iOS
- upgrading to googlePlayServicesVersion 21.0.1 HOT 2
- Only update location once every 5 minutes not working as expected
- Search for location in the background - Android HOT 3
- In latest React-native 0.73 version it gives error of gerCurrentPosition not defined when i use same code react-native lesser version it works perfect but in the latest version it doesn't work
- Restricting to multiple countries? HOT 1
- Swift Requirement and iOS 12 crashes
- Could not invoke RNFusedLocation.startObserving HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from react-native-geolocation-service.