DylanVann / react-native-fast-image

🚩 FastImage, performant React Native image component.
MIT License
8.15k stars 1.49k forks source link

FastImage isn't avaiable on Expo ? #568

Open duylinhdang1998 opened 4 years ago

duylinhdang1998 commented 4 years ago

I using Expo to build RN app and using fastimage lib in my app. But it not working?
why? Please help me

dolsem commented 4 years ago

FastImage is written in native code. Expo's managed workflow does not support adding native code to apps. You need to switch to bare workflow - https://docs.expo.io/versions/latest/introduction/managed-vs-bare

tomparkp commented 3 years ago

Expo is working on adding the ability to include native plugins: https://blog.expo.io/expo-managed-workflow-in-2021-d1c9b68aa10

The Expo tooling is miles ahead of whats available for bare RN so it would be awesome to support it once its ready.

tomparkp commented 3 years ago

Update - I think it should be possible to support Expo now via a config plugin: https://docs.expo.io/guides/config-plugins/

Stevemoretz commented 3 years ago

Update - I think it should be possible to support Expo now via a config plugin: https://docs.expo.io/guides/config-plugins/

Yes it is, if you check the feature request canny for it they have even explained how.

ggepenyan commented 2 years ago

Is there any way to use it with Expo? I really need that. Thanks in advance!

alexander01202 commented 2 years ago

Hello please add this to expo

AliAlican commented 1 year ago

Hello, can we add support for expo managed workflow. using -app.config.js

Stevemoretz commented 1 year ago

Expo is supported just use EAS why is this still open?

Brent Vatne from https://expo.canny.io/feature-requests/p/react-native-fast-image:

Today, we are pleased to announce that with the arrival of Expo SDK 42, you can now create custom development clients in the cloud using EAS Build, or locally with the new Expo run commands. You can try it out today: Create a new project: expo init Install the packages: expo install react-native-fast-image expo-dev-client Build the native app: In the cloud with eas build -p all --profile development (expo build does not support custom builds) Or locally with expo run:ios and expo run:android (note: see https://expo.fyi/prebuild-cleanup for information on the generated files) To be clear, react-native-fast-image will not have been added to the Expo Go app that you download from the App Store or Google Play Store. We still consider this feature to be completed because users can now create a custom client app that includes this library, without needing to write any native code. We hope you enjoy, and we have big plans to continue improving this workflow going forward!

AliAlican commented 1 year ago

Thanks a lot, i guess the issue can be closed, also if we can add the expo install documentation to the readme, that would great

AliAlican commented 1 year ago

https://github.com/DylanVann/react-native-fast-image/pull/947

I created this PR