Roundr icon indicating copy to clipboard operation
Roundr copied to clipboard

Get physical screen's corner radius

Open mrousavy opened this issue 4 years ago • 0 comments

Hi!

I'm trying to get the corner radius of rounded screens to provide an API for that (see mrousavy/react-native-screen-corner-radius). I've managed to find a way to do so on iOS using private APIs, but I couldn't figure out how to dynamically get the physical device corner radius.

I thought maybe this was a good place to ask, do you maybe know a way to achieve that @MohammadAdib ?

Thanks!

mrousavy avatar Dec 11 '20 12:12 mrousavy