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

Feature: Expo image #5996

Open
wants to merge 8 commits into
base: develop
Choose a base branch
from
Open

Conversation

Rohit3523
Copy link
Contributor

Proposed changes

This PR removes the react-native-fast-image package and replaces it with expo-image for handling image rendering in the app. The main reason for this change is to simplify the image loading process while ensuring better compatibility with Expo-managed workflows. By switching to expo-image, we align the app more closely with Expo's ecosystem, reducing the need for third-party dependencies that are not part of Expo. All instances of FastImage have been updated to use expo-image, but the change should not introduce any breaking changes as the API of expo-image is quite similar.

Issue(s)

None

Types of changes

  • Bugfix (non-breaking change which fixes an issue)

  • Improvement (non-breaking change which improves a current function)

  • New feature (non-breaking change which adds functionality)

  • Documentation update (if none of the other choices apply)

  • I have read the CONTRIBUTING doc

  • I have signed the CLA

  • Lint and unit tests pass locally with my changes

  • I have added tests that prove my fix is effective or that my feature works (if applicable)

  • I have added necessary documentation (if applicable)

  • Any dependent changes have been merged and published in downstream modules

@@ -36,7 +36,7 @@

import com.reactnativecommunity.webview.RNCWebViewManager;

import com.dylanvann.fastimage.FastImageOkHttpUrlLoader;
// import com.dylanvann.fastimage.FastImageOkHttpUrlLoader;
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Need review here

@Rohit3523
Copy link
Contributor Author

Screenshot 2024-11-14 at 9 56 06 PM

I don't know how can i remove these from the gemfile, never deal with this in react-native ;-;

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.

1 participant