Skip to content

React Native Yle RSS reader. Made for University of Vaasa's Mobile Application Development course.

Notifications You must be signed in to change notification settings

Jankku/rn-rss-reader

Repository files navigation

Yle RSS Reader

Built with React Native and Expo.

Screenshots

Features

  • Load news from Yle's regional RSS feeds
  • Use location to get your region
  • Save news articles
  • Light/dark theme

Building

To build development build do the following:

  • Clone the project:
git clone https://github.com/Jankku/rn-rss-reader.git
  • Navigate to project folder.
  • Rename .env.example file to .env.
  • Create a LocationIQ account here.
  • Find LocationIQ API key here and copy paste it to LOCATION_API_KEY variable in .env file.
  • Create local.properties file to the root of android folder with the following content:
# Path to Android SDK. On Windows:
sdk.dir=C\:\\Users\\Username\\AppData\\Local\\Android\\Sdk
  • Run npm install in terminal to install dependencies.
  • Connect your Android phone to your computer.
  • Run adb devices in terminal to confirm ADB connection.
  • Run npm run android in terminal to build the app.
  • Development client should be installed to your device and the app launched.

Testing

Run the following command in terminal to run tests:

npm test

To get test coverage run:

npm run coverage