Closed pedrol2b closed 8 months ago
I also saw this error and fixed the issue (with rotation enabled and working), by modifying the resize function
private external fun resize(
image: Image,
cropX: Int,
cropY: Int,
cropWidth: Int,
cropHeight: Int,
scaleWidth: Int,
scaleHeight: Int,
rotation: Int,
mirror: Boolean,
pixelFormat: Int,
dataType: Int
): ByteBuffer
This adds in the new rotation and mirror arguments. I was working on creating an issue and PR, but was unable to reproduce the original error. Then my fix stopped working too (now the app just crashes).
What about for expo?
Hey - whoops, sorry for that, fixed and released in 2.1.1 :)
Facing thoose issues when trying to build on Android
full logs:
Heres the actual code
and the
resize
external functionmanaged to supress the error and build removing params from the resize call above
as the error says the call had more params than in the function declaration
Heres my enviroment