requireNativeComponent: "RNCSafeAreaProvider" was not found in the UIManager.
npminstall react-native-safe-area-context
npx pod-install ios
//add SafeAreaProvider to the app
import{ SafeAreaProvider } from 'react-native-safe-area-context';functionApp(){return<SafeAreaProvider>...</SafeAreaProvider>;}