Closed 3luyka closed 1 month ago
Hi @msand, could you please take a look on this?
This happens when I try to set something like:
<Svg style={{ width: deviceWidth * 3, height: deviceHeight * 3 }} ... />
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. You may also mark this issue as a "discussion" and I will leave this open.
@3luyka did you get any solution on this? I am also facing the same issue.
+1 same
Possible explanation from similar experience: your image gets too darn big, even as vector, especially on hi-res larger-screen devices.
We had a simple SVG resized to several times the device width/height for an animation and encountered this fatal error (in prod 🤦 ); we had been diligent about testing on older devices but less so newer flagships. Trimming down the SVG to only the parts viewable -> decreasing the dimension multiples required from 2x,4x to 1x,2.2x & adding a subtle transform so the animation effect stayed the same -> no more crashes.
Hope that helps someone!
Hello @3luyka, If you still have that problem, please share a simple repro for that problem. Thank you.
Hey there!
I've got several crash reports. This is happens only on Android 10. (Pixel 3 XL / Pixel 2 XL / Pixel 4 XL).
Environment info
Library version: 12.1.0
Crash stack info