react-native-skia
react-native-skia copied to clipboard
Parsing color parameter is incorrect
https://github.com/Shopify/react-native-skia/blob/a7445c4e1cd5149d9bf8f1c1e3ce251df37faee6/package/cpp/api/JsiSkCanvas.h#L458-L473
In drawColor and clear function, SkColor type is Float32Array, but color parameter is parsed as number.
It occurs Exception in HostFunction: <unknown> error in iOS.
If I use number type value in the parameter ignoring Typescript errors, it is okay.
nice catch thks!