Is allowFontScaling=false in <Text/> component a bad practice? [closed]

Solution 1:

As mentioned in this answer. Yes, using allowFontScaling=false in <Text/> component is a bad practice. Because endusers may prefer the font size used on that device comfortable.

if you must use these below code, however try the different font size in different devices, and use the average font size. It may work.

Text.defaultProps = Text.defaultProps || {};
Text.defaultProps.allowFontScaling = false;