react-native-fast-image: Warning: Native component for "FastImageView" does not exist

Thank you for the great work! I cannot wait to see it work on my end (^ ^)/

Here is my basic information: MacOS Sierra Expo 20.0.0 React Native 0.47.2

I installed the package following the instruction:

  1. yarn add react-native-fast-image
  2. react-native link

But when I use it, the terminal gives me this warning Warning: Native component for "FastImageView" does not exist, and NO image was shown, only red boxes. But if I change to React Native’s Image component, things work as expected.

screen shot 2017-08-26 at 01 21 58

I wonder if it is because I am using expo? But I tried eject expo, and link again, but the warning persists, and no image was showing up. 😦

About this issue

  • Original URL
  • State: closed
  • Created 7 years ago
  • Reactions: 11
  • Comments: 28 (3 by maintainers)

Most upvoted comments

Seems the react-native link react-native-fast-image missed the step 2 described here https://facebook.github.io/react-native/docs/linking-libraries-ios.html. It worked after doing the step 2 manually.

Basically, I just added the libFastImage.a to the Linked Libraries section in the Build Phases.

it looks like react-native-link adds a line to the pod file if you use cocoa pods, so just run pod install in ios folder

I don’t use expo but have the same error. However, my app is not ejected - does this mean I should eject my app to use a library? Thanks!

Manual linking instructions have been added here: https://github.com/DylanVann/react-native-fast-image/blob/master/docs/installation-manual.md

CocoaPods is also now supported.