Closed ahcurrier closed 5 months ago
can you please add the font in style
and not as className
to check if the issue is only related to nativewind
I tested that, added 'font-inter' to a Text component className and seems to work fine. I also added a new font to the template for testing and was working as expected.
Adding font-inter or font-... works perfectly fine on iOS, but doesn't seem to work on Android unless we customise it to font-['Montserrat-Black']. Any idea's how to tackle this? The font's do work when using inline styles.
Not sure if I'm missing something here?: https://starter.obytes.com/ui-and-theme/fonts/
This doesn't seem to do anything. For instance if I add a 'font-inter' className attribute to a Text component in the starter project, the font displayed is just the system font, not Inter, even though:
Are others able to load fonts natively this way? Do I still need to use useFonts?