xxxxxxxxxx
npm install react-native-safe-area-context
npx pod-install ios
//add SafeAreaProvider to the app
import { SafeAreaProvider } from 'react-native-safe-area-context';
function App() {
return <SafeAreaProvider></SafeAreaProvider>;
}
xxxxxxxxxx
Expo works with 13.4.0 version of react-native-svg but
react-native-gifted-charts requires 13.6.0. So I installed
react-native-svg with expo install and override nested dependencies to
use 13.4.0 version also by adding
"resolutions": {
"react-native-svg": "13.4.0"
}
to my package.json. Solved my issue