Skip to content

Problem bundling with assets on android if located in package #68

@johkade

Description

@johkade

Topic and scope of discussion

When placing assets (e.g. PNGs) in a package folder, they don't seem to be bundled correctly on android and are not displayed. iOS and web work flawlessly.

Motivation

If an asset belongs to a feature, I would like to co-locate it with that feature. And not have to place it in both of the apps as a duplicate, if possible.

Additional context

Even though the app.json specifies **/* as a path to bundle assets, android doesn't show anything where the image should be. iOS and web work without any troubles after a rebuild. Throwing the assets into expo/assets works on all three platforms.

It would be great to hear, what the preferred approach for shared assets is with this monorepo-example 🤩

Thanks a lot for any input in advance!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions