Skip to content
This repository has been archived by the owner on Jul 19, 2019. It is now read-only.

Is this project still useful ? #17

Open
louisiscoding opened this issue Nov 28, 2017 · 2 comments
Open

Is this project still useful ? #17

louisiscoding opened this issue Nov 28, 2017 · 2 comments

Comments

@louisiscoding
Copy link

louisiscoding commented Nov 28, 2017

Is this project still useful.
it hasn't be updated in the last two year.

@nuthinking
Copy link

And doesn't seem to work in ES6

@esutton
Copy link

esutton commented Mar 6, 2018

What are react native timer alternatives?

I am still using this in react-native to force GPS geolocation updates.

  componentDidMount() {
    try {
      // Use timer to force GPS update
      // watchPosition updates too slowly, maybe every 10 seconds
      this.setInterval(() => {
        try {
          if (this.state.killTimerMixin) { return; }
          this.geoWatchStop();
          this.geoWatchStart();
        } catch (error) {
          // Exception is thrown when  database item this view was displaying is deleted in another view.
          // ToDo: How to stop and shut down the TimerMixin ?
          this.clearTimeout();  // < clearTimeout does NOT stop it
        }
      }, 3000);

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants