react-native-monorepo-tools
react-native-monorepo-tools copied to clipboard
`getMetroAndroidAssetsResolutionFix()` applicable to other targets (not just Android)
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:
- Share the fact that this fix can be used for other targets than Android,
- Suggest that "Android" could be removed from the name of the function.