xxxxxxxxxx
npm install react-native-reanimated react-native-gesture-handler react-native-screens react-native-safe-area-context @react-native-community/masked-view
If you're on a Mac and developing for iOS, you need to install the pods to complete the linking.
npx pod-install ios
Then close metro and start project again
xxxxxxxxxx
run this: npm install react-native-reanimated react-native-gesture-handler react-native-screens react-native-safe-area-context @react-native-community/masked-view
white screen appearing while implementing react navigation
xxxxxxxxxx
npm install react-native-screens react-native-safe-area-context
xxxxxxxxxx
update: 26th Jan, 2023
is you already have "react-native-screens" and "react-native-safe-area-context" installed, then run only below
otherwise add them too to the installation.
yarn add react-native-reanimated react-native-gesture-handler @react-native-masked-view/masked-view
npx pod-install ios
rebuild project / app finally
xxxxxxxxxx
npm install react-native-reanimated react-native-gesture-handler react-native-screens react-native-safe-area-context @react-native-community/masked-view
If you're on a Mac and developing for iOS, you need to install the pods to complete the linking.
npx pod-install ios