Git Product home page Git Product logo

Comments (6)

Agontuk avatar Agontuk commented on May 12, 2024 4

Location tracking is now available in 1.1.0.

from react-native-geolocation-service.

Agontuk avatar Agontuk commented on May 12, 2024 3

Location tracking is implemented in location-update branch. Feel free to try it out, I'll merge it to master after some testing.

from react-native-geolocation-service.

Agontuk avatar Agontuk commented on May 12, 2024 1

As far as I know, heading & speed will return 0 if you're not moving, or if you're using network provider instead of gps provider due to weak signal. I think you need to track location updates for getting heading & speed value. Tracking location is not yet implemented, but I'll do it soon.

from react-native-geolocation-service.

Agontuk avatar Agontuk commented on May 12, 2024 1

Since you set the interval to 100 second (1m 40s), it'll update the location in that interval. Fastest interval is 30 second, which means if somehow location data is updated by other apps before 1m 40s, your app will also get the update after 30 second has passed.

GPS icon will always show because you're using enableHighAccuracy. That means GPS will be used as long as watchPosition is running. I'll update the doc.

EDIT: doc updated.

from react-native-geolocation-service.

Shhzdmrz avatar Shhzdmrz commented on May 12, 2024

thanks for your response @Agontuk. Tried with the movement and working fine. You can close this issue now.
BTW Waiting for the tracking location update for this package.

from react-native-geolocation-service.

Shhzdmrz avatar Shhzdmrz commented on May 12, 2024

Hi @Agontuk
thank you for the watch position its working fine on my side.

Just a quick question. How these position options are working?
{ enableHighAccuracy: true, distanceFilter: 0, interval: 100000, fastestInterval: 30000 } for this configuration they are giving me location after each 1 minute and 40 seconds. Also they gps icon continuously showing in the notification area.

Is it the required behavior? How these options are working? please briefly explain to understand better for the watch position.

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.