Reputation: 144
I recently updated my project to 0.26. After fixing to breaking changes and what not, I get an error when I´m trying to display an image from the asset-library using the react-native-camera module and saving to camera roll. Currently only tested on iOS.
[error][tid:com.facebook.react.ImageLoaderURLCacheQueue]
[RCTImageLoader.m:332] No suitable image URL loader found for
assets-library://asset/asset.JPG?id=DC49E90A-8F0D-41E8-9120- 1A7517735C44&ext=JPG
All I´m doing is using this asset URL in my Image component like:
resizeMode="contain" source={{uri: props.imageUri}}
Upvotes: 3
Views: 3051
Reputation: 144
If someone else is experiencing this. RTCCameraRoll is now optional and has to be added manually to the project and Build Phases. Doing this solves the issue. Thanks.
Upvotes: 5