Profile screen is protected with authentication(default login:Admin,password:12345). News screen fetching mok data from JSONPlaceholder and chunk's it to array of 20 items. All state saved into AsyncStorage with help of Redux-Persist Authentication route is done by me,so in fact that's HOC which can be dynamicly configured for every route you want.
Download/Clone the projec,install dependencies and start the app.
$ cd RNTest
$ npm install
$ npm run ios or npm run android
Android:
If you having issues with building app just try this: Download/Clone the projec,install dependencies and start the app.
$ cd android&&./gradlew clean + delete .gralde folder in ./android
$ cd ..
$ npm run android
IOS:
If you having issues with building app just try this:
$ cd ios
$ open TestTask.xcodeproj and check in Build Phases if there are no fonts files in Copy Bundle Resources dropdown
$ cd ..
$ npm run ios
- Home
- News
- Profile.
MIT
P.S Something strange happened to my git,don't be scared :(