In this project, I used some styling and components used on the calebnance/expo-disneyplus project. I removed everything related to expo. Also, I implemented login/registration features to demonstrate redux-saga and navigation stuff. Instead of movies, I used games. I am still working on some features like adding accounts, improving API usage, removing unnecessary files, useful theming, etc.
Clone this repo using the following command:
git clone https://github.com/iethem/react-native-games.git
Move to the appropriate directory:
cd react-native-games
Run npm install
in order to install dependencies.
npm i
For IOS:
npx pod-install
npm run ios
For Android:
npm run android
Start the server:
npm start
- Add or remove games on favorites using Async Storage (because I used Async Storage to hold user data)
- Change static text messages to i18n messages
- Remember me
- Add or remove accounts
- Remove unused files (like some redux-saga stuff)
- Fix account screen (some menus are not working properly)
If you like this project please check the react-native-boilerplate project I used for this.
Login/Registration: Uses Async Storage to simulate login/registration stuff. See LoginScreen/RegisterScreen's saga.js
and utils/userStorage.js
.
Games: The application fetches games using rawg.io API.
i18n: The project has i18n normally but static texts were not converted as i18n messages.
Use
npm run generate
to create components/containers/languages.
Contributions of any kind welcome!
I intend no copyright infringement. Please let me know if I have added something of yours & you'd like it removed.