Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

getMetroAndroidAssetsResolutionFix() applicable to other targets (not just Android) #15

Open
alxroyer opened this issue Aug 26, 2022 · 0 comments

Comments

@alxroyer
Copy link

alxroyer commented Aug 26, 2022

While following https://mmazzarolo.com/blog/2021-09-11-running-react-native-everywhere/, I faced the same "Android assets resolution bug" with my react-native-windows app: logo not displayed above the hello message.

I tried to apply the getMetroAndroidAssetsResolutionFix() to fix it, and it worked!

Indeed, when I read through metro#290, it seems that the problem is not specific to Android, but is rather due to monorepo configurations.

This is issue in order to:

  1. Share the fact that this fix can be used for other targets than Android,
  2. Suggest that "Android" could be removed from the name of the function.
@alxroyer alxroyer changed the title getMetroAndroidAssetsResolutionFix() applicable to other (not just Android) getMetroAndroidAssetsResolutionFix() applicable to other targets (not just Android) Aug 26, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant