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

Inconsistent Progress values between iOS and Android #165

Open
omardoma opened this issue Dec 6, 2019 · 0 comments
Open

Inconsistent Progress values between iOS and Android #165

omardoma opened this issue Dec 6, 2019 · 0 comments

Comments

@omardoma
Copy link

omardoma commented Dec 6, 2019

On Android progress is a value between 0 to 1, while on iOS the progress is a value between 0 to 100 which results in an inconsistent API that forces me to handle it this way:

        map(status =>
          // Workaround that Android emits the progress from 0 to 1
          this.isAndroid
            ? (status.value as number)
            : (status.value as number) / 100
        ),
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