Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

offset does not work #5

Open
BonBonSlick opened this issue Aug 11, 2020 · 0 comments
Open

offset does not work #5

BonBonSlick opened this issue Aug 11, 2020 · 0 comments

Comments

@BonBonSlick
Copy link

BonBonSlick commented Aug 11, 2020

Offset supposed to be added to the total steps counted in this session. But it does not

eg

pperUpdates(
                   555,
                   this.stepsSuccess,
                   this.stepsError,
                   this.pedometerOptions
               );

is always starts from 0


Stepper.prototype.startStepperUpdates = function (offset, onSuccess, onError, options) {
    offset = parseInt(offset) || 0;
    options = options || {};
    exec(onSuccess, onError, "Stepper", "startStepperUpdates", [offset, options]);
};

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

No branches or pull requests

1 participant