I am trying to use @ui-kitten/metro-config
with the new EAS build flow from Expo.
Everything works well when I build an app for development and serve it through a development client. However, when I build a standalone version, the custom mapping I defined through my mapping.json
does not get applied.
The documentation linked above says that one would have to run a CLI command before building in a CI environment: ui-kitten bootstrap @eva-design/eva ./path-to/mapping.json
. But I can't figure out where to place this command so that it gets executed on EAS build servers at the right time.
Here is a reproducible example: https://github.com/acrdlph/expo-mcve/tree/ui-kitten - in development
builds (which depend on a dev client) the h1
size is re-defined according to the mapping.json
. In the preview
and production
profiles the h1
tag defaults back to its normal size.
Grateful for all pointers!