Comments (8)
Looks ok to me, it should give you location every 2 seconds. Try changing the interval and see if it works.
from react-native-geolocation-service.
@Agontuk I have changed interval option a lot, but it always gives me info each 10 seconds. I don't understand why
from react-native-geolocation-service.
I honestly don't know what could be causing this issue. Can you try with different play-service-location versions ?
from react-native-geolocation-service.
@Agontuk the doc still says watchposition is coming instead of done, based on this post it looks like u've done it? I'd like to use it if possible..
thanks alot for the great lib! :D
from react-native-geolocation-service.
@rayj10 yes watchPosition feature is available, install the latest version & try it out.
from react-native-geolocation-service.
+1 on iOS. Even on setting interval to 2000, I don't get location every 2 seconds
from react-native-geolocation-service.
interval
, fastestInterval
is for android only. It does nothing on ios. I'll update the documentation.
from react-native-geolocation-service.
Closing due to inactivity, feel free to open new issue if it persists. Also try with the newer version.
from react-native-geolocation-service.
Related Issues (20)
- if i use forceLocationManager props with "enableHighAccuracy: true", its not working in 5.3.1, same code working on 5.0.0 HOT 3
- watchPosition when app is closed. HOT 4
- IOS app getting suspended after 5/6 minutes in the background
- getCurrentPosition not working proper in iOS HOT 1
- Does not work in Headless JS HOT 2
- react-native-geolocation-service throwing internal error occurred only for few android devices HOT 6
- 3 Location request timed out HOT 2
- 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
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.