Skip to content

Android FastImage keeps refreshing on background to foreground, iOS is fine.  #1022

@BrandonCao

Description

@BrandonCao

Describe the bug
I have an issue where the FastImage component is reloading an image when going from background to foreground. However it's not happening on iOS. I confirmed this by adding console logs to the onLoad, onLoadStart and onLoadEnd props to the component.

Expected behavior
Once the image is loaded and the app goes from background to foreground, it does not refetch.

Screenshots
If applicable, add screenshots to help explain your problem.

Dependency versions

  • React Native version: 0.67.5
  • React version: 17.0.2
  • React Native Fast Image version: 8.6.3

Note: if these are not the latest versions of each I recommend updating as extra effort will not be taken to be backwards compatible, and updating might resolving your issue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions