You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
how i can resolve this issue on android, this problem is related with crop() function, this was described in the documentation but I still didn't understand how to solve it. (https://glazzes.github.io/react-native-zoom-toolkit/components/cropzoom.html#crop)
When i set fixedWidth in crop() its allow to call renderAsync() without error, but then i get image with unexpected size.
But when i call renderAsync() and without fixedWidth its not render, and throw error as: [Error: Call to function 'Context.renderAsync' has been rejected.
→ Caused by: java.lang.IllegalArgumentException: x + width must be <= bitmap.width()]
on ios work perfectly
if someone have facing with it, please give me hint how i can solve this problem
The text was updated successfully, but these errors were encountered:
how i can resolve this issue on android, this problem is related with
crop()
function, this was described in the documentation but I still didn't understand how to solve it. (https://glazzes.github.io/react-native-zoom-toolkit/components/cropzoom.html#crop)When i set
fixedWidth
incrop()
its allow to callrenderAsync()
without error, but then i get image with unexpected size.But when i call
renderAsync()
and withoutfixedWidth
its not render, and throw error as: [Error: Call to function 'Context.renderAsync' has been rejected.→ Caused by: java.lang.IllegalArgumentException: x + width must be <= bitmap.width()]
on ios work perfectly
if someone have facing with it, please give me hint how i can solve this problem
The text was updated successfully, but these errors were encountered: