Skip to content
This repository has been archived by the owner on Jul 10, 2019. It is now read-only.

trangcongthanh/react-native-news

Repository files navigation

React Native News

Headlines from over 70 sources

Demo

https://www.youtube.com/watch?v=FhF0Q1l2FK8

Stack

  • React Native
  • React Navigation
  • Redux & Redux Persist
  • Reactotron

Features/Components

  • Uses React Native v0.46.4
  • Pull down to Refresh FlatList
  • Pagination Flatlist
  • Follow a sources

Installation

  1. Clone the repo
$ cd react-native-news
  1. Install dependencies
$ npm install
  1. Get API key from newsapi.org (It's free)

  2. Add your key to line 11 in file path-to-your-project/src/constants/news.js

  3. Start packager

$ yarn start
  1. Running on Android
$ react-native run-android or yarn run-android
$ adb reverse tcp:8081 tcp:8081
  1. Running on iOS
$ react-native run-ios or yarn run-ios

Todos

  • ◽ Support CodePush
  • ◽ Support adMob

License

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published