can getSafeAreaInsetsForRootView not return a promise ?
jpamarohorta opened this issue · 0 comments
jpamarohorta commented
Is there any implementation reason for getSafeAreaInsetsForRootView
to return a promise?
I would like to use the safe area insets to set some style variables but with this method being async, that gets more difficult.
EDIT: Just checked, the native RNSafeArea
getSafeAreaInsetsForRootView
method returns a promise so nothing can be done. Closing this issue then.