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

Is this project still useful ? #17

Open

Description

@louisiscoding

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

Activity

  1. nuthinking commented on Feb 27, 2018

    @nuthinking

    And doesn't seem to work in ES6

  2. esutton commented on Mar 6, 2018

    @esutton

    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 join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions