Skip to content
No description, website, or topics provided.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
src
.babelrc
.flowconfig
.gitignore
.watchmanconfig
App.js
README.md
app.json
package.json
yarn.lock

README.md

React Native Demo App

This demo app displays the recent posts from

http://api.massrelevance.com/MassRelDemo/kindle.json

and periodically refreshes the content. However, this endpoint does not actually emit content after December 2017, so a 'Last updated at' timestamp is displayed in the header to provide some confidence that refetches are occurring.

Building and Running

To build and run the project on the development server:

$ yarn start

Once the server is running, you will be prompted to launch the project in an Android or iOS emulator.

To run the project on a device, use the Expo app. See https://expo.io for more details.

Testing

To run the test suite:

$ yarn test

Configuration

The configuration parameters for this app live as JS constants in ./src/config.js.

The parameters and their defaults are:

const FEED_URL = "http://api.massrelevance.com/MassRelDemo/kindle.json";
const POSTS_COUNT = 20;
const UPDATE_INTERVAL = 3000;
You can’t perform that action at this time.