look at the offset of RFValue, for iPhone X, you are assigning a value of 78. This is probably 44 returned by getStatusBarHeight plus 34 returned by getBottomSpace. However, according to the 'react-native-iphone-x-helper' document, for unsafe iPhoneX, getStatusBarHeight returns 30. Therefore, offset cannot always be 78. Therefore, it seems reasonable to modify 78 to getStatusBarHeight() + getBottomSpace().
look at the offset of RFValue, for iPhone X, you are assigning a value of 78. This is probably 44 returned by getStatusBarHeight plus 34 returned by getBottomSpace. However, according to the 'react-native-iphone-x-helper' document, for unsafe iPhoneX, getStatusBarHeight returns 30. Therefore, offset cannot always be 78. Therefore, it seems reasonable to modify 78 to getStatusBarHeight() + getBottomSpace().