The sample project includes components and views not required to complete the demo. We'll want to clean up the project before working on the main workshop app.
- Remove all tsx files under
screens
except forcodePushScreen.tsx
andwelcomeScreen.tsx
. - Update RootTabNavigator to only contain the WelcomeScreen and CodePush.
const RootTabNavigator = TabNavigator(
{
Welcome: {
screen: WelcomeScreen,
},
CodePush: {
screen: CodePushScreen
}
},
{
initialRouteName: 'Welcome',
tabBarOptions: {
style: {
backgroundColor: "#252525"
},
},
navigationOptions: {
tabBarVisible: false,
},
lazy: false,
swipeEnabled: true
}
);
- Application can be run in iOS or Android simulator.
- Only two screens visible in app are the Welcome and CodePush screens.