Replies: 4 comments
-
Also having this issue with a number of expo specific modules that I require not finding It would be fab if there was a little more documentation on how to handle using Expo APIs for packages scaffolded with |
Beta Was this translation helpful? Give feedback.
-
Thanks @satya164 - are you suggesting that I put |
Beta Was this translation helpful? Give feedback.
-
Nevermind - just me being silly 😅 put Thanks for pointing me in the right direction @satya164 😃 |
Beta Was this translation helpful? Give feedback.
-
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
Beta Was this translation helpful? Give feedback.
All reactions