ReactNativeのSafeArea
種類が多いので整理
root部分をSafeAreaProviderで囲う
それ以外の場所をSafeAreaViewで囲う
RN本家のもの
問題がある
While React Native exports a SafeAreaView component, it has some inherent issues, i.e. if a screen containing safe area is animating, it causes jumpy behavior. In addition, this component only supports iOS 10+ with no support for older iOS versions or Android. We recommend to use the react-native-safe-area-context library to handle safe areas in a more reliable way. ref expoのもの