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

Local cached images loaded failed occasionally #15492

Closed
CodingForMoney opened this issue Aug 15, 2017 · 5 comments
Closed

Local cached images loaded failed occasionally #15492

CodingForMoney opened this issue Aug 15, 2017 · 5 comments
Labels
Stale There has been a lack of activity on this issue and it may be closed soon.

Comments

@CodingForMoney
Copy link

Is this a bug report?

Yes.

Have you read the Contributing Guidelines?

YES

Environment

  1. react-native -v:0.47.1
  2. node -v:v6.2.0
  3. npm -v:3.9.0

Then, specify:

  • Target Platform:
    iOS

  • Development Operating System:
    macOS

  • Build tools:
    Xcode

Steps to Reproduce

(Write your steps here:)

  1. Download the sample code
  2. npm install,npm start , Run sample code
  3. cmd + R, try reload the app for several times(Not Appearing-Certain).

Expected Behavior

All images loaded successful.

Actual Behavior

Some images failed to load.

Reproducible Demo

https://github.com/CodingForMoney/ReactNative-ImageLoadBugSample.git

@stale
Copy link

stale bot commented Oct 14, 2017

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Maybe the issue has been fixed in a recent release, or perhaps it is not affecting a lot of people. If you think this issue should definitely remain open, please let us know why. Thank you for your contributions.

@stale stale bot added the Stale There has been a lack of activity on this issue and it may be closed soon. label Oct 14, 2017
@karegaCOPART
Copy link

I am facing this issue in multiple versions of RN.

@stale stale bot removed the Stale There has been a lack of activity on this issue and it may be closed soon. label Oct 21, 2017
@CodingForMoney
Copy link
Author

PR #15493

@CodingForMoney
Copy link
Author

@karegaCOPART

hi,guy . If you can't modify the react-native source , you can set this property:

rctRootView.bridge.imageLoader.maxConcurrentLoadingTasks = 100;

Increase the maxTasks setting would make more local image loaded successfully .

@stale
Copy link

stale bot commented Jan 16, 2018

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Maybe the issue has been fixed in a recent release, or perhaps it is not affecting a lot of people. If you think this issue should definitely remain open, please let us know why. Thank you for your contributions.

@stale stale bot added the Stale There has been a lack of activity on this issue and it may be closed soon. label Jan 16, 2018
@stale stale bot closed this as completed Jan 23, 2018
@facebook facebook locked and limited conversation to collaborators May 15, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Stale There has been a lack of activity on this issue and it may be closed soon.
Projects
None yet
Development

No branches or pull requests

2 participants