I've created an React Native app, targeted mainly at iOS. I'm using custom fonts, and can see they are successfully integrated into the app via some debug in AppDelegate.m (in XCode):
for (NSString* family in [UIFont familyNames])
{
NSLog(@"%@", family);
for (NSString* name in [UIFont fontNamesForFamilyName: family])
{
NSLog(@" %@", name);
}
}
resulting in:-
MyFontFamily
MyFontFamilyFontOne
MyFontFamilyFontTwo
My issue is accessing the specific fonts in a < Text > element - I always see the same font rendered when using the family or the exact font name, e.g.
<Text style={{fontFamily: 'MyFontFamily'}}>hello</Text>
<Text style={{fontFamily: 'MyFontFamilyFontOne'}}>hello</Text>
<Text style={{fontFamily: 'MyFontFamilyFontTwo'}}>hello</Text>
results in the same font rendered.
Outputting the same in HTML results in the desired outcome, e.g. fonts One and Two are different.
AmericanTypewriter-Light
instead of your custom fonts does it run? – Mateo Guzmán