Giter Club home page Giter Club logo

Comments (3)

christocracy avatar christocracy commented on June 25, 2024

In the original react-native-background-geolocation (of which, this project is a fork from over two years ago), you don't have to worry about pausesLocationUpdatesAutomatically. Mine uses its own motion-detection-based system, where you simply provide a stopTimeout.

However, if you really do wish to completely disable the stop-detection system, you're free to set pausesLocationUpdatesAutomatically: false and location-services are going to remain on forever, until you explicitly tell it to #stop or #changePace(false)

from react-native-background-geolocation.

mauron85 avatar mauron85 commented on June 25, 2024

@fozzarelo I read the stackoverflow issue you've posted and it might be the same issue.

Currently pausesLocationUpdatesAutomatically is hardcoded to YES in.

https://github.com/mauron85/react-native-background-geolocation/blob/master/ios/RCTBackgroundGeolocation/LocationManager.m#L153

You can try to set NO or even add configure option. Also PR will be welcome.

from react-native-background-geolocation.

fozzarelo avatar fozzarelo commented on June 25, 2024

Ok sounds good. I'll give it a try.
Thanks guys.

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.