In React Native, I define font family for all text with Rubik font but for some devices (SAMSUNG & OPPO), the font looks like overwrite with a custom device font because that brand can choose a custom font for their device.
I don't know why sometimes some text looks like overwrite with custom device font & some text still uses the Rubik font.
Environment:
Packages:
Target Platform: Android
Any ideas on how to make a device font can't overwrite the set font family font?
In your package.json add the key
{
.
.
.
sideEffects:false,
.
.
.
}
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With