Giter Club home page Giter Club logo

Comments (6)

christocracy avatar christocracy commented on August 23, 2024

Any advice on recommended settings for our use case (truck tracking)?

This plugin was designed for vehicle-tracking. The default values are sufficient. Your only question is what distanceFilter to choose.

Regarding iOS, since frequency cannot be defined, what would be a recommended setup to avoid having positions every few seconds (in case the truck is on a highway), but still identifying a truck slowly arriving at a geofence location?

Read the API docs Config.distanceFilter. By default, the plugin adjusts the distanceFilter based upon speed. You'll have to experiment with real field-testing to choose a distanceFilter that's right for you.

We are not sure how elasticityMultiplier affects the tracking. We came up with this formula: adjusted_distanceFilter = distanceFilter * (1 + floor(speed / 5) * elasticityMultiplier). Is that correct?

The default elasticity should be fine. You only need to be concerned with elasticityMultiplier if the default is insufficient.

Motion & Fitness" (ios) or "Physical Activity" (android) can be seen as very invasive by some users

Do you know what the plugin uses the Motion API for? You can disable it with Config.disableMotionActivityUpdates. Android will require movement of at least 200 meters before location-tracking triggers. With the Motion API, Android can trigger with just a few meters of movement.

No, there's no battery-performance stats.

from react-native-background-geolocation.

souzadeveloper avatar souzadeveloper commented on August 23, 2024

Hi Pierre, I'm developing for the same goal as yours. If you want, we can help each other.... what do you think?

from react-native-background-geolocation.

Pierre-Marie-Shippeo avatar Pierre-Marie-Shippeo commented on August 23, 2024

HI @christocracy thanks for your quick response, we have additional questions if you can help us:

  • the app sends recurrently positions that are EXACTLY the same, except the UUID that is different. Is that a bug in the library? This affect both IOS and Android
  • In iOS, the app sends burst of position that are in a short interval of like 5 seconds. We see that the accuracy is improving. How to send only the last one?

from react-native-background-geolocation.

christocracy avatar christocracy commented on August 23, 2024

the app sends recurrently positions that are EXACTLY the same, except the UUID that is different. Is that a bug in the library?

No, it’s not a bug. You’ve not shown any code what you’re doing with the plug-in.

In iOS, the app sends burst of position

see api docs Location.sample.

from react-native-background-geolocation.

github-actions avatar github-actions commented on August 23, 2024

This issue is stale because it has been open for 30 days with no activity.

from react-native-background-geolocation.

github-actions avatar github-actions commented on August 23, 2024

This issue was closed because it has been inactive for 14 days since being marked as stale.

from react-native-background-geolocation.

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.