This project was created using Expo for simplicity reasons and runs specifically for Android. It uses the following tech stack:
- React Redux
- react-navigation
- expo-linear-gradient
- Animated library from react-native
- Go to the root folder of the project in your terminal and run
npm installto install all the dependencies of the project (node required to be installed at your pc) - Go to "node_modules/expo/AppEntry.js" change the path from '../../App' to '../../src/App'
- Open a virtual device from Android Studio, or use your phone to run the project with 'Expo Go' (download the app from app store)
- Go to the root folder of the project in your terminal and run
npx expo start - After starting the project, if you want to run it on a virtual device, go to your terminal and press 'a'. To run it on a physical device, scan the QR code in the terminal from 'Expo Go'
Running the app on emulator
To run the app on an emulator of Android Studio, you have to follow some steps first.
The following link provides a series of steps for how to setup a virtual device and run the application on it.
- I would use Typescript
- I would write some tests
- I would write better and more maintainable code
That's it! I hope you like it!
