Skip to content

[0.23.0-rc1]Unable to resolve modules AssestRegistry when require image inside node_modules #6638

@evollu

Description

@evollu

I have code like
<Image source={require('react-native-router-flux/src/back_chevron.png')} style={{height: 100, width: 100}}/> in my app and it works fine in 0.22.2

but in 0.23.0-rc1 system throws "Unable to resolve modules AssestRegistry [path to back_chevron.png" in IOS, and "Requireing unknown module "AssestRegistry"" in Android

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions