Comments (21)
@DylanVann hand over the repo to someone else who will maintain it since you've disappeared!
from react-native-fast-image.
@DylanVann any update?
from react-native-fast-image.
@DylanVann fabric support would be great
from react-native-fast-image.
Same +1
from react-native-fast-image.
@DylanVann please stay on top of this or look for more maintainers 🙏
from react-native-fast-image.
Facing the same problem.
React native version : 0.71.4
React version : 18.2.0
React native Fastimage version : 8.6.3
from react-native-fast-image.
Me too. Found this PR but it doesn't look like anyone has considered it yet: #951
from react-native-fast-image.
+1 why he doesn't look this PR #951 ?
@DylanVann
from react-native-fast-image.
Please publish a new version if you are free, thank you. @DylanVann
from react-native-fast-image.
+1 Will be great to have Fabric support
from react-native-fast-image.
So, has this repo already been completely abandoned now? it's not been updated for a long time. 😅💔
from react-native-fast-image.
Then I have to say that you are not on new arch on iOS, if you enable it (and yes I did it in the same way as you with adding it to pod install script):
"pod-install": "cd ios && RCT_NEW_ARCH_ENABLED=1 bundle exec pod install && cd ..",
But I'm seeing same red boxes for gradient and fast image views (just as it was for Android initially). Adding BVLinearGradient fixes the gradient views, but adding FastImageView makes the app crash (on iOS)
If you run the app locally, after the bundle is loaded from metro you should see in logs
"fabric":true
if you're on the new arch
Same on me, any solutions? :(
from react-native-fast-image.
I think this lib can now be used using the interop layer as discussed here reactwg/react-native-new-architecture#135
from react-native-fast-image.
used to be the best react native img lib :(
expo image is up and coming but not as good as fast image in some use cases
from react-native-fast-image.
I was also facing this
you can use the "New Renderer Interop Layer"
The interop layer is shipped with React Native 0.72
Just add component name like this in react-native.config.js
module.exports = {
project:{
android: {
unstable_reactLegacyComponentNames: [ "ComponentName" ]
},
ios: {
unstable_reactLegacyComponentNames: [ "ComponentName" ]
}
},
};
"The interop layer is a feature that lets you reuse legacy Native Components in New Architecture apps"
Read More
https://github.com/reactwg/react-native-new-architecture/discussions/135
from react-native-fast-image.
@mrshahzeb7 ComponentName in this case is "FastImageView" right? After adding it it's all good on Android, but it crashes on iOS at this line (in file LegacyViewManagerInteropComponentDescriptor.m):
Class viewManagerClass = getViewManagerFromComponentName(componentName); assert(viewManagerClass);
Looks like it cannot find the view manager class.
Any ideea what's wrong?
This is my react-native.config.js file:
module.exports = { assets: ['./src/assets/fonts/'], project: { android: { unstable_reactLegacyComponentNames: [ 'BVLinearGradient', 'FastImageView', ], }, ios: { unstable_reactLegacyComponentNames: [ 'BVLinearGradient', 'FastImageView', ], }, }, };
PS: I needed it for react-native-linear-gradient component as well, that's working fine on both platforms.
from react-native-fast-image.
@mrshahzeb7 ComponentName in this case is "FastImageView" right? After adding it it's all good on Android, but it crashes on iOS at this line (in file LegacyViewManagerInteropComponentDescriptor.m):
Class viewManagerClass = getViewManagerFromComponentName(componentName); assert(viewManagerClass);
Looks like it cannot find the view manager class.
Any ideea what's wrong?
This is my react-native.config.js file:
module.exports = { assets: ['./src/assets/fonts/'], project: { android: { unstable_reactLegacyComponentNames: [ 'BVLinearGradient', 'FastImageView', ], }, ios: { unstable_reactLegacyComponentNames: [ 'BVLinearGradient', 'FastImageView', ], }, }, };
PS: I needed it for react-native-linear-gradient component as well, that's working fine on both platforms.
I Just added in the android not IOS!
my react-native.config.js
module.exports = {
project: {
ios: {},
android: {
unstable_reactLegacyComponentNames: ["FastImageView", "BVLinearGradient"],
},
},
assets: ["./app/assets/fonts"],
}
from react-native-fast-image.
@mrshahzeb7 But that way on iOS they don't get rendered, just seeing those red boxes telling it's not supporting Fabric yet. You're just building your app for Android?
from react-native-fast-image.
@mrshahzeb7 But that way on iOS they don't get rendered, just seeing those red boxes telling it's not supporting Fabric yet. You're just building your app for Android?
Yes i am using using both platform and it working fine for me
Now I have to recheck whether the new arch is enabled or not on ios 🤔
But i didn't get any issues in ios
I have added a script "pod-install" in package.json and in that i have added "RCT_NEW_ARCH_ENABLEB=1"
Please note I created project from scratch with new Arch enabled
from react-native-fast-image.
Then I have to say that you are not on new arch on iOS, if you enable it (and yes I did it in the same way as you with adding it to pod install script):
"pod-install": "cd ios && RCT_NEW_ARCH_ENABLED=1 bundle exec pod install && cd ..",
But I'm seeing same red boxes for gradient and fast image views (just as it was for Android initially). Adding BVLinearGradient fixes the gradient views, but adding FastImageView makes the app crash (on iOS)
If you run the app locally, after the bundle is loaded from metro you should see in logs "fabric":true
if you're on the new arch
from react-native-fast-image.
Related Issues (20)
- Support for iOS 17 HOT 22
- defaultSource not working HOT 2
- Need an alternative, this repo is dead HOT 15
- Error due tintColor HOT 2
- Is it abandoned? HOT 9
- Crashes the app, as IOS has deprecated UIGraphicsBeginImageContextWithOptions from IOS 17. HOT 6
- Critical WebP 0-day security CVE-2023-4863 HOT 3
- Gif in ios HOT 1
- Gifs only play once HOT 1
- react-native 0.73 [FFFastImageView setOnClick:]: unrecognized selector sent to instance HOT 3
- Android: onLoad, onLoadStart, onLoadEnd events not arriving in order HOT 2
- Not working on IOS with XCode v12.3
- FastImage not showing images HOT 2
- Weird waves in details of images. HOT 3
- First time opening with zoom, the second shows right HOT 6
- bump SDWebImageWebPCoder to 0.11.0 to resolve Double Free VULNERABILITY
- Vulnerability reported by Snyk - libwebp HOT 1
- App crashed on Android if Source uri is empty HOT 1
- [Glide] Error: setDataSource failed: status = 0x80000000
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from react-native-fast-image.