Code Monkey home page Code Monkey logo

Comments (8)

Agontuk avatar Agontuk commented on May 14, 2024

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.

javc86 avatar javc86 commented on May 14, 2024

@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.

Agontuk avatar Agontuk commented on May 14, 2024

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.

rayj10 avatar rayj10 commented on May 14, 2024

@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.

Agontuk avatar Agontuk commented on May 14, 2024

@rayj10 yes watchPosition feature is available, install the latest version & try it out.

from react-native-geolocation-service.

aaayushsingh avatar aaayushsingh commented on May 14, 2024

+1 on iOS. Even on setting interval to 2000, I don't get location every 2 seconds

from react-native-geolocation-service.

Agontuk avatar Agontuk commented on May 14, 2024

interval, fastestInterval is for android only. It does nothing on ios. I'll update the documentation.

from react-native-geolocation-service.

Agontuk avatar Agontuk commented on May 14, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.