Open matinzd opened 2 months ago
I am having the same problem on skia 1.4.2, React Native 0.75.3, Expo 51.0.34 and victory-native 41.4.0. Just shows an empty area on iOS simulator, but works on my real device.
This is happening to me as well when running it on my real device, none of the Skia components are being rendered
Sorry for tagging you but this seems like a regression. Can you take a look at it?
@wcandillon
I just had a look at it but I need a reproduction. A community explained me that another issue might be related to this one which led me to believe that I might not need a reproduction but it turned out to be unrelated. I hope we can get to the bottom of this quickly.
The example you provided works for me so I probably need a small app as a reproduction or something.
I am having the same problem on skia 1.4.2, React Native 0.75.3, Expo 51.0.34 and victory-native 41.4.0. Just shows an empty area on iOS simulator, but works on my real device.
I had the exact same problem, and I tried to reproduce it on a new project, but I can't. Somehow it works, despite all the libraries being the same versions. An absolute beauty of React Native development.
So what I ended up doing is copy-pasting the code from the old project to the new one. The new one works, package.json is identical, the new architecture is turned on. I have no idea what was the reason.
"@shopify/react-native-skia": "^1.5.1", "react-native": "^0.75.4", "expo": "~51.0.28",
I would say it is also very random on my own project as well. Sometimes it shows up sometimes it doesn't. There might be something messing with rn skia from outside.
I encountered this on the new arch – sometimes Skia components will render just fine, other times they won't. I haven't had time to try and reproduce on a new project yet.
@shopify/react-native-skia@1.5.3 expo@^52.0.0 react-native@0.76.2
[Edited for brevity] So I originally reproduced the issue using @react-navigation ^6.0, even in a new project. However the issue went away (mostly) when upgrading to ^7.0. The Skia components would still disappear if I tap "Show Perf Monitor" and navigate between screens (note: I couldn't tap Expo's "Toggle perf monitor" as the perf monitor wouldn't stay visible), and I can't reproduce this behaviour in a new project. I probably need to do what aleksey did and copy my code to a new project.
Description
After turning on new archtitecture I am not able to render anything with Skia on iOS simulator
Old architecture and physical device:
New architecture:
Version
1.3.13
Steps to reproduce
Snack, code example, screenshot, or link to a repository