Skip to content

Refactor all app images with expo-image

Martin Santangelo requested to merge native/expo-image into master

Ticket(s) / Related Merge Requests

#4823 (closed)

Summary of Changes

  • Refactored all the images of the app with expo-image (RN fast image and RN image)

  • Refactored the SmartImage component to use expo image and removed the react-native-blurhash dependency

  • Removed the ExplicitImage component

  • Changelog file updated with this template (one or more)

    • Added for new features.
    • Changed for changes in existing functionality.
    • Deprecated for soon-to-be removed features.
    • Removed for now removed features.
    • Fixed for any bug fixes.
    • Security in case of vulnerabilities.

Testing Considerations

This MR replaces all the images of the app so general testing is required.

Most critical areas:

  • Check that the Paywalled or NSFW images are masked and can be opened normally
  • Check data saver

Known issues: For now, when the data saver is enabled the download button is shown even if the image was cached previously.

Regression Scope

It may affect any image of the app

Platform Affected (ios / android)

Both platforms

Developer Testing Completed

ios sim

Screenshots

Simulator_Screen_Shot_-iPhone_14-_2023-03-13_at_18.03.56 Simulator_Screen_Shot_-iPhone_14-_2023-03-13_at_18.03.42

Does this impact

  • Localization
  • Dark/light mode
  • Guest mode
Edited by Martin Santangelo

Merge request reports