Comments (6)
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.
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.
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.
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.
This issue is stale because it has been open for 30 days with no activity.
from react-native-background-geolocation.
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)
- onGeofence not trigger running HOT 10
- RNBG doesn't send data to server after internet connection was lost and then restored. HOT 8
- 502 Bad Gateway error on GET /maven-metadata.xml HOT 5
- Tracking user location is not working consistently HOT 1
- Tried to finish non-existent task with id x
- Android Application Not Responding when the library checks permissions
- Manually request motion permissions HOT 1
- getLocations type error HOT 1
- Problem in handling permissions using onProviderChange. Two scenarios I am facing the issue
- `- BackgroundGeolocation is configured and ready` never logs true in the example code HOT 7
- User Arrow Direction on Android Often Misrepresents Users Walking/Facing Direction HOT 1
- Can not debug on android HOT 7
- Could not find any matches for com.transistorsoft:tslocationmanager-v21:+ as no versions of com.transistorsoft:tslocationmanager-v21 are available. HOT 11
- Do I need to buy the source code of this TSLocationManager? HOT 1
- How to use the TSLocationManager static library? HOT 1
- Background location didn't respond if I stops for certain minutes and then moving again HOT 5
- Discussion: Time-based Tracking and backgrounded app HOT 1
- LocationRequestService ANR on Android 14 HOT 10
- License Validation Issue After Upgrading React Native and react-native-background-geolocation (Android Only) HOT 3
- Battery Drain Issue (IOS) HOT 5
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-background-geolocation.