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

Added the urlTimeout property, to stop showing an activity indicator when the url is broken. #17

Closed
wants to merge 5 commits into from

Conversation

SudoPlz
Copy link

@SudoPlz SudoPlz commented May 19, 2016

  • Added a url timeout timer that makes the progress indicator stop when the image has not completed downloading after urlTimeout milliseconds.
  • Updated the Readme.md file to let the user know how to change the urlTimeout property if needed.

…r when this value is reached (for broken urls).
@oblador
Copy link
Owner

oblador commented May 19, 2016

Doesn't React Native core already send an onError on timeouts?

@SudoPlz
Copy link
Author

SudoPlz commented May 19, 2016

I don't know if it does, but I had spinners spinning (while trying to retrieve an image with a broken link) for at least 10 minutes...!

@oblador
Copy link
Owner

oblador commented May 19, 2016

Hmm, maybe that should be fixed in RN core instead?

@SudoPlz
Copy link
Author

SudoPlz commented May 19, 2016

No idea, but until it does, this feature is a must have. We can't have an activity indicator running for ever..

@nmfzone
Copy link

nmfzone commented Jul 3, 2017

Whoaaa, this is what I wanted...any update on this?

oblador added a commit that referenced this pull request Jul 3, 2017
@oblador
Copy link
Owner

oblador commented Jul 3, 2017

@nmfzone This bug should be fixed in 1.0.0. Please open an issue if not 👍

@oblador oblador closed this Jul 3, 2017
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

Successfully merging this pull request may close these issues.

None yet

3 participants