Canvas doesn't show image on released apk #270
Unanswered
Pierre-YvesLUDA
asked this question in
Q&A
Replies: 1 comment
-
Hello, I'm currently encountering this issue. Did you find a fix ? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
I'm facing a issue with Canvas component, when I use it in dev mode it shows the image as intended. However, when I release an apk and I use it in release mode it doesn't show any image whereas I'm sure that images are correctly imported.
Also, I have the next warning :
Require cycle: node_modules\react-native-canvas\dist\Canvas.js -> node_modules\react-native-canvas\dist\Image.js -> node_modules\react-native-canvas\dist\Canvas.js Require cycles are allowed, but can result in uninitialized values. Consider refactoring to remove the need for a cycle.
I don't know if it's related or not but maybe it can help you to figure out the issue.
Thanks in advance!
Beta Was this translation helpful? Give feedback.
All reactions