Ask your Question
Hi first of all I would like to say thank you for this useful library. I am using this boilerplate(with Expo) to create an UI library and I am having a problem using a custom font(google).
In order to use the font, I need to also use expo-font to load the font properly. In doing so, I had to install all related
expo dependencies to the main package in order to make it working properly.
Unfortunately, my demo expo app in the example folder will always throws an error about the font is not a system font and should be loaded properly using loadsync.
From my investigation, this is happening because there are conflicts between 2 or more expo-font installations. At the moment to solve my problem, my workaround is to create a postinstall script which will delete the expo-font module inside the expo demo app node-modules.
What are you thought on this? Is there any better way of doing this? Thanks
Ask your Question
Hi first of all I would like to say thank you for this useful library. I am using this boilerplate(with Expo) to create an UI library and I am having a problem using a custom font(google).
In order to use the font, I need to also use expo-font to load the font properly. In doing so, I had to install all related
expo dependencies to the main package in order to make it working properly.
Unfortunately, my demo expo app in the example folder will always throws an error about the font is not a system font and should be loaded properly using loadsync.
From my investigation, this is happening because there are conflicts between 2 or more expo-font installations. At the moment to solve my problem, my workaround is to create a postinstall script which will delete the expo-font module inside the expo demo app node-modules.
What are you thought on this? Is there any better way of doing this? Thanks