Following is a simple sample on building an demo react-native app
With basic navigations
1, Create a sample appnpm expo-cli init MyApp --npm
2, Install React Navigationnpm install react-navigation
3, Install dependenciesexpo install react-native-gesture-handler react-native-reanimated react-native-screens react-native-safe-area-context @react-native-community/masked-view
npm install react-navigation-stack @react-native-community/masked-view
4, Install React Navigation Stacknpm install react-navigation
5, Start the app and clear cacheexpo r -c