Open savayer opened 1 year ago
Did you find a solution yet? (Having this exact issue as well, not sure how to fix)
@codinsonn no, I'm using this https://github.com/mfrachet/rn-placeholder instead
@savayer Not a real solution, but disabling the shiver animations by setting the animate
prop tofalse
fixes the issue.
The error originates from the react-native-svg
package, so without the animations, there are no svg's.
EDIT: We could enable them on iOS, but not on Android
Any updates on this? For me it only happens for android devices. IOS works as expected
Updating react-native-svg
to the latest version (v13.7.0) resolved the issue for me.
Same issue here. And I have to stick to react-native-svg: "13.4.0"
because the svg package has not been bumped in the Expo SDK 48 yet. Any update on this? 👀
same issue using 13.4.0 react-native-svg and expo v47.0
same issue here using 13.4.0 react-native-svg and expo v48.0
same here with expo...
@savayer Not a real solution, but disabling the shiver animations by setting the
animate
prop tofalse
fixes the issue.The error originates from the
react-native-svg
package, so without the animations, there are no svg's.
Good temporary solution. Temporarily not animating is better than crashing.
Updating react-native-svg
to the latest version (v13.5.0) resolved the issue for me.
@iamromec Thanks so much! Just switched from 13.4.0 to 13.5.0, and although Expo warns about the mismatched library when starting Expo Go, it still works and builds don't crash anymore. Lifesaver!
Are there any updates? 🫠
Switching to react-native-svg 13.5.0 fixed the issue for me. Not sure what the cause is and if it works out for others but that could be a try. There was another potential fix mentioned here as well https://github.com/expo/expo/issues/20983#issuecomment-1564248501
What did you do?
I just created this component
and it doesn't matter where I call it, anyway I am getting the error. Also tried to show default
<ContentLoader />
and got the same errorWhat happened actually?
I don't get the error just using
npm run android
of expo. I've noticed that ready .apk built doesn't work at all and doesn't show any error. To see the error I useexpo prebuild -p android
and thennpx react-native run-android
Which versions of react-content-loader, and which browser are affected by this issue?