exyte/Macaw

Occasional SVG parsing error. Shape Error not supported

Closed this issue · 1 comments

Hi,

I'm using Macaw to show and interact with SVG files in my app. We download the files from our server and store them locally in the device.
Occasionally we're failing to parse files using try SVGParser.parse(fullPath: filePath). The call doesn't throw, but I can see in the debugger the following print: SVG parsing error. Shape Error not supported.
This happens randomly for files that are previously being parsed correctly, and once the error occurs, it constantly occur unless the file is being deleted and fetched again from the server.

I'm attaching an example file:
Main floor.svg.zip

I'd appreciate any assistance, can provide additional info as required.

Thanks!

Our files got corrupted during parsing, which caused this issue.
Nothing with the library itself ✌🏻