Android modifications
For Android support, we want to do the following things to our code base:
- Import the
react-native-vector-icons
library via Gradle - Swap out the
TabBarIOS
component for an Android-based solution using theDrawerLayoutAndroid
andToolbarAndroid
components to create a navigation bar that contains a drawer that slides out to toggle between the current and previous months' expenses - Replace any
NavigatorIOS
instances withNavigator
- Remove
ProgressViewIOS
- Remove the
ExpandableCell
components inAddExpensesModal
and replaceDatePickerIOS
withDatePickerAndroid
- Add any Android-specific files to components that require them
Installing the vector icon library
You should not need to do anything extra to have the react-native-vector-icons
library installed for Android since React Native link should have taken care of the entire process for you.
However, if you decided to link the library manually for iOS, the readme file for react-native-vector-icons
has the latest, up-to-date instructions...