billzh pfp
billzh
@billzh
React Native experts: do you set the same font size on both iOS and Android? if not, how do you do it?
9 replies
22 recasts
203 reactions

df pfp
df
@df
same same welcome back bill
0 reply
2 recasts
17 reactions

Tees World pfp
Tees World
@teesparty
Yeah same same, I love my fonts small, so it's the same across all my devices
1 reply
0 recast
2 reactions

Jeff Stout pfp
Jeff Stout
@stout
Usually just roll with the same font size unless there is an issue. Sometimes things can get wonky if device pixel density differs or maybe you want to render text with skia or something. In that case you can use PixelRatio and/or Platform.OS info to conditionally specify your sizes ✨
1 reply
0 recast
2 reactions

Korede pfp
Korede
@korede
Closest I’ve come is using PixelRatio.getFontScale()
1 reply
0 recast
1 reaction

Tempe Techie pfp
Tempe Techie
@tempetechie.eth
I did some react native back in 2020 or 2021, but honestly cannot remember that specific thing. I bet any of the AIs would be able to give you a better answer. If not, you can still check SO or Reddit. Best of luck!
1 reply
0 recast
0 reaction

Duckchain On Base pfp
Duckchain On Base
@duckbase
into android
0 reply
0 recast
0 reaction

Thai Binh pfp
Thai Binh
@thaibinh99
Back meee
0 reply
0 recast
0 reaction

Chris pfp
Chris
@chrisdom
wait wut, does it now show the same size if you set it?
0 reply
0 recast
0 reaction

Pezlow.eth pfp
Pezlow.eth
@pezlow
Welcome back!
1 reply
0 recast
0 reaction