Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Unrecognized font family 'Rubik-Regular' #149
Thanks to @rozenshtein, I got this to work by running this in the project's root:
npm i -S react-native-vector-icons npm i -S react-native-linear-gradient # I don't know if this is necessary but I ran it anyway react-native link react-native run-ios
And it loaded with no errors.
Hello! ––Really want to use this component library––
I started a couple of projects yesterday, one with CRNA and the normal RN init method.
I've been getting 3-types of errors with
When I execute
I've tried everything in every github thread, including this one, without success.
Thanks for your help!
fontFamily 'Rubik-Regular' is not a system font and has not been loaded through Expo.Font.loadAsync.
I try above method, restart the emulator and turn off and on the expo terminal bu no luck using the "@shoutem/ui": "^0.23.4",
get this message on expo :
If you're using expo, you have to load custom fonts asynchronously, as is shown in our example
If you're using regular
Why all this? Because fonts are loaded into the binary of the app, meaning any package with a font is considered a package with native dependencies.