Crash on svg processing
Closed this issue · 1 comments
chrissearle commented
When we download SVG partner logos we need to convert them to png to use in SwiftUI Image.
We use SVGKit for that.
In this method - SVGKit gets an unexpected nil - which is handled with an NSLog - and then this returns nil.
https://github.com/SVGKit/SVGKit/blob/3.x/Source/Sources/SVGKSourceURL.m#L23-L49
The calling method (also in SVGKit) asserts not nil - which crashes the app.
I suspect that for the production version we send out for 2021 I will download the list and add them as an asset catalog instead.
chrissearle commented
Removed SVGKit and download of images entirely