Skip to content

Canvas doesn't show image on released apk #211

@Pierre-YvesLUDA

Description

@Pierre-YvesLUDA

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!

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions