-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
[Error: cannot inherit from final ImageSource] after update react-native to 0.75.1 #1043
Comments
Same here |
same issue |
same here |
same here, any solutions? |
1 similar comment
same here, any solutions? |
Temporary Workaround. You can try modifying the library code until the library is officially updated. Open the file causing issues: /node_modules/react-native-fast-image/android/src/main/java/com/dylanvann/fastimage/FastImageSource.java. Replace the code with the one below.
Finally you can use patch package (https://github.com/ds300/patch-package) to patch it. |
Hello use https://www.npmjs.com/package/@d11/react-native-fast-image |
I am also getting the same issue, i am using latest 0.75.1 version of react native library |
@hpanwar521 try this solution. It will work. |
This is also not working for me ... is there any other solution |
I am also getting the same issue. I am using the latest 0.75.1 version of the React Native library. Please heeeeeeeeeeeeeelp! |
@mohsenfl2022 follow these steps:-
After that try building the app. It will work fine |
facing the same issue with react-native 0.75.1 version while running the application in android.
@DylanVann Kindly look into this |
This is fixed in https://github.com/facebook/react-native/pull/46092/files |
it's a fork of this. can we upgrade this in the same? |
react-native is the peer dependency of react-native-fast-image. So when you upgrade your app to the fixed version of react-native , it will automatically work |
Here are the versions of libs. still, it's not working.
|
not fixed for me |
it's not working with 0.75.2 also |
Getting below errors with 0.75.2 version
|
+1 |
+1 |
This PR on react-native will solve this issue: |
+1 |
Any progress on this fam |
Someone have a solution for this issue, can someone contact with the repo owner? |
There's also a new alternative, Faster Image, https://github.com/candlefinance/faster-image |
same question.Hope fix this error coming soon. |
I've setup a patch file for this issue for version 0.75.2 in
However the same build error happens after: rm -Rf node_modules/
npm install
cd android && ./gradlew clean && cd ../
watchman watch-del all
npm run start --reset-cache Is it possible to patch this? |
does not work. |
It will be fixed in [email protected] |
Any idea when [email protected] will be released? |
Yup, I can confirm that the above repo does not fix the problem. Even though the most recent release was less than 24 hours ago. |
@JohnSmall The issue has been fixed in react-native. Once they release new version it will automatically gets fixed in fast image. |
@YuriOlepir Issue has been fixed in @d11/react-native-fast-image |
@deepanshushuklad11 can we use your library in 73.8 version. Please provide some social media links so I can DM you there. |
@Gautham495 it should work , latest version is using fabric renderer too. |
@deepanshushuklad11 Sent a connection request. |
Updated react-native to 0.75.4, worked for me! |
Hello, i updated react-native to the latest 0.75.1 version and now have got such errors after executing
run android
command.The text was updated successfully, but these errors were encountered: